diff options
author | Bob Van Landuyt <bob@gitlab.com> | 2017-06-12 19:19:00 +0200 |
---|---|---|
committer | Bob Van Landuyt <bob@vanlanduyt.co> | 2017-06-26 17:49:30 +0200 |
commit | d6a0c288c89765fa8f0e96aedefc608dd7025491 (patch) | |
tree | 3509b6488eace44f18ed7cdf8242ffdd1a58de30 /lib | |
parent | 229ac39a4c7f7cc4fa207ffa1c826e114df2906a (diff) | |
download | gitlab-ce-d6a0c288c89765fa8f0e96aedefc608dd7025491.tar.gz |
Use the migration name as a key in redis
Diffstat (limited to 'lib')
-rw-r--r-- | lib/gitlab/database/rename_reserved_paths_migration/v1/rename_base.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gitlab/database/rename_reserved_paths_migration/v1/rename_base.rb b/lib/gitlab/database/rename_reserved_paths_migration/v1/rename_base.rb index 3bf549a56eb..ce82a57fe7e 100644 --- a/lib/gitlab/database/rename_reserved_paths_migration/v1/rename_base.rb +++ b/lib/gitlab/database/rename_reserved_paths_migration/v1/rename_base.rb @@ -144,7 +144,7 @@ module Gitlab end def redis_key_for_type(type) - "rename:#{migration.version}:#{type}" + "rename:#{migration.name}:#{type}" end def file_storage? |