Skip to content
代码片段 群组 项目
未验证 提交 3f3b5e6b 编辑于 作者: Stan Hu's avatar Stan Hu
浏览文件

Gracefully handle nil created_at values in CI pipelines

https://gitlab.com/gitlab-org/gitlab/-/merge_requests/90027 added
`CI::Pipeline#age_in_minutes`. This method causes a 500 error for any
page that attempts to load an old pipeline that happens to have a
`nil` `created_at` value. For these pipelines, just return 0.

Relates to https://gitlab.com/gitlab-org/gitlab/-/issues/369124

Changelog: fixed
上级 a3256c13
No related branches found
No related tags found
加载中
加载中
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册