Commit 63c42d78 authored by Stan Hu's avatar Stan Hu

Fix unknown constant in compliance dashboard seed

The following error was encountered when seeding
`ee/db/fixtures/development/32_compliance_dashboard_merge_requests.rb`:

```
NameError: uninitialized constant
Gitlab::Seeder::ComplianceDashboardMergeRequests::AccessDeniedError
```
parent 6223d35e
...@@ -66,8 +66,8 @@ class Gitlab::Seeder::ComplianceDashboardMergeRequests ...@@ -66,8 +66,8 @@ class Gitlab::Seeder::ComplianceDashboardMergeRequests
merge_request merge_request
end end
rescue AccessDeniedError rescue ::Gitlab::Access::AccessDeniedError
raise AccessDeniedError.new("If you are re-creating your GitLab database, you should also delete your old repositories located at $GDK/repositories/@hashed") 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 end
def create_pipeline!(project, ref, commit, status) 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