summaryrefslogtreecommitdiff
path: root/lib/container_registry
diff options
context:
space:
mode:
authorKamil Trzcinski <ayufan@ayufan.eu>2016-05-16 18:03:55 -0500
committerKamil Trzcinski <ayufan@ayufan.eu>2016-05-16 18:03:55 -0500
commit91c4002a0c2f32944ec669cc159c4b1c9176866f (patch)
tree8ef37d8bbaa0cae3ff56a0f8b69b5314b4a598f2 /lib/container_registry
parent72a71e9d17c75b11e82623cd9edd22ba70c9ba4f (diff)
downloadgitlab-ce-91c4002a0c2f32944ec669cc159c4b1c9176866f.tar.gz
Improve test coverage
Diffstat (limited to 'lib/container_registry')
-rw-r--r--lib/container_registry/repository.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/container_registry/repository.rb b/lib/container_registry/repository.rb
index b30cb527b60..07cdb78264e 100644
--- a/lib/container_registry/repository.rb
+++ b/lib/container_registry/repository.rb
@@ -39,7 +39,7 @@ module ContainerRegistry
def delete_tags
return unless tags
- tags.each(:delete)
+ tags.all?(&:delete)
end
def mount_blob(blob)