Commit 5f81705f authored by Douglas Barbosa Alexandre's avatar Douglas Barbosa Alexandre

Merge branch 'sh-fix-seed-constant-errors' into 'master'

Fix unknown constant in compliance dashboard seed

See merge request gitlab-org/gitlab!54012
parents 185c7751 63c42d78
......@@ -66,8 +66,8 @@ class Gitlab::Seeder::ComplianceDashboardMergeRequests
merge_request
end
rescue AccessDeniedError
raise AccessDeniedError.new("If you are re-creating your GitLab database, you should also delete your old repositories located at $GDK/repositories/@hashed")
rescue ::Gitlab::Access::AccessDeniedError
raise ::Gitlab::Access::AccessDeniedError.new("If you are re-creating your GitLab database, you should also delete your old repositories located at $GDK/repositories/@hashed")
end
def create_pipeline!(project, ref, commit, status)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment