summaryrefslogtreecommitdiff
path: root/app/uploaders
diff options
context:
space:
mode:
authorMicaël Bergeron <mbergeron@gitlab.com>2018-06-12 11:22:35 -0400
committerMicaël Bergeron <mbergeron@gitlab.com>2018-06-12 11:22:35 -0400
commit3d42bab71ad293c99d029dfb4f0c9aa0378643d4 (patch)
tree2a8e47620cc428872528d7fbe17c0495dd6a9aab /app/uploaders
parente1589a5c584acae83d97d41494616be1f3981da7 (diff)
downloadgitlab-ce-3d42bab71ad293c99d029dfb4f0c9aa0378643d4.tar.gz
Diffstat (limited to 'app/uploaders')
-rw-r--r--app/uploaders/object_storage.rb3
1 files changed, 2 insertions, 1 deletions
diff --git a/app/uploaders/object_storage.rb b/app/uploaders/object_storage.rb
index 43c2b419332..14983943f76 100644
--- a/app/uploaders/object_storage.rb
+++ b/app/uploaders/object_storage.rb
@@ -16,7 +16,8 @@ module ObjectStorage
end
def message
- "Exclusive lease #{@lease_key} already taken."
+ *lease_key_group, _ = *@lease_key.split(":")
+ "Exclusive lease for #{lease_key_group.join(':')} is already taken."
end
end