Skip to content
代码片段 群组 项目
未验证 提交 cb02845f 编辑于 作者: Sashi Kumar Kumaresan's avatar Sashi Kumar Kumaresan 提交者: GitLab
浏览文件

Merge branch '456535-onboarding-update-should-not-raise' into 'master'

Onboarding progress updates should not raise on failure

Closes #456535

See merge request https://gitlab.com/gitlab-org/gitlab/-/merge_requests/161184



Merged-by: default avatarSashi Kumar Kumaresan <skumar@gitlab.com>
Approved-by: default avatarShabini Rajadas <srajadas@gitlab.com>
Approved-by: default avatarSashi Kumar Kumaresan <skumar@gitlab.com>
Co-authored-by: default avatardavid hamp-gonsalves <dhamp-gonsalves@gitlab.com>
No related branches found
No related tags found
无相关合并请求
...@@ -76,7 +76,7 @@ def register(namespace, actions) ...@@ -76,7 +76,7 @@ def register(namespace, actions)
return if nil_actions.empty? return if nil_actions.empty?
updates = nil_actions.inject({}) { |sum, action| sum.merge!({ column_name(action) => now }) } updates = nil_actions.inject({}) { |sum, action| sum.merge!({ column_name(action) => now }) }
onboarding_progress.update!(updates) onboarding_progress.update(updates)
end end
def completed?(namespace, action) def completed?(namespace, action)
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册