summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Leitzen <pleitzen@gitlab.com>2019-05-13 09:38:58 -0500
committerPeter Leitzen <pleitzen@gitlab.com>2019-05-13 09:48:26 -0500
commit6a2510d99c416137ef10567796cac85b3de95472 (patch)
tree1d5b87258d2315bb6fbdfc2b6b82c7ef4cdb09bc
parent26ee5c0599936e4f8660aa2f37c01e601098e38e (diff)
downloadgitlab-ce-6a2510d99c416137ef10567796cac85b3de95472.tar.gz
Remove duplicate definition of DOWNTIMEpl-fix-warning
This silences the warning: 20190301081611_migrate_project_migrate_sidekiq_queue.rb:8: warning: already initialized constant MigrateProjectMigrateSidekiqQueue::DOWNTIME
-rw-r--r--db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb2
1 files changed, 0 insertions, 2 deletions
diff --git a/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb b/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb
index 6af7902e0c4..46108d142b5 100644
--- a/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb
+++ b/db/post_migrate/20190301081611_migrate_project_migrate_sidekiq_queue.rb
@@ -5,8 +5,6 @@ class MigrateProjectMigrateSidekiqQueue < ActiveRecord::Migration[5.0]
DOWNTIME = false
- DOWNTIME = false
-
def up
sidekiq_queue_migrate 'project_migrate_hashed_storage', to: 'hashed_storage:hashed_storage_project_migrate'
end