diff options
author | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-13 20:20:23 +0300 |
---|---|---|
committer | Kamil Trzcinski <ayufan@ayufan.eu> | 2016-05-13 20:20:23 +0300 |
commit | 9e318bd99deb90a93130cd4ef79e54f18555d4dc (patch) | |
tree | b37b1b258ef8bde9b0ae9216a17478f516df8729 /app/services/projects | |
parent | 575a73c896a113e6e9b76adb582cb23025cf0032 (diff) |
Fix container registry permissions
Diffstat (limited to 'app/services/projects')
-rw-r--r-- | app/services/projects/destroy_service.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/services/projects/destroy_service.rb b/app/services/projects/destroy_service.rb index 0ff2bc3cb81..d3920ac8baa 100644 --- a/app/services/projects/destroy_service.rb +++ b/app/services/projects/destroy_service.rb @@ -64,7 +64,7 @@ module Projects end def remove_registry_tags - return unless Gitlab.config.registry.enabled + return true unless Gitlab.config.registry.enabled project.container_registry_repository.delete_tags end |