summaryrefslogtreecommitdiff
path: root/lib/gitlab/background_migration/job_coordinator.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/gitlab/background_migration/job_coordinator.rb')
-rw-r--r--lib/gitlab/background_migration/job_coordinator.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/background_migration/job_coordinator.rb b/lib/gitlab/background_migration/job_coordinator.rb
index acbb5f76ad8..c440db58b94 100644
--- a/lib/gitlab/background_migration/job_coordinator.rb
+++ b/lib/gitlab/background_migration/job_coordinator.rb
@@ -14,7 +14,7 @@ module Gitlab
worker_class = worker_for_tracking_database[tracking_database]
if worker_class.nil?
- raise ArgumentError, "tracking_database must be one of [#{worker_for_tracking_database.keys.join(', ')}]"
+ raise ArgumentError, "The '#{tracking_database}' must be one of #{worker_for_tracking_database.keys.to_a}"
end
new(worker_class)