diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-16 15:06:32 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2019-10-16 15:06:32 +0300 |
commit | d2ffc30fd583e86d4122bb5061098f4f3ca7b3f1 (patch) | |
tree | cb29c77a3ea49eb8ec732b0e644ed6cfad4770d9 /app/services | |
parent | 914ea32e0efca21436220df2c10e1bfbe4ed3da9 (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/services')
-rw-r--r-- | app/services/projects/container_repository/delete_tags_service.rb | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/app/services/projects/container_repository/delete_tags_service.rb b/app/services/projects/container_repository/delete_tags_service.rb index 22656b29c58..5129e2269a8 100644 --- a/app/services/projects/container_repository/delete_tags_service.rb +++ b/app/services/projects/container_repository/delete_tags_service.rb @@ -48,10 +48,10 @@ module Projects # rubocop: disable CodeReuse/ActiveRecord Gitlab::Sentry.track_exception(ArgumentError.new('multiple tag digests')) if tag_digests.many? - # deletes the dummy image - # all created tag digests are the same since they all have the same dummy image. + # Deletes the dummy image + # All created tag digests are the same since they all have the same dummy image. # a single delete is sufficient to remove all tags with it - if container_repository.client.delete_repository_tag(container_repository.path, tag_digests.first) + if container_repository.delete_tag_by_digest(tag_digests.first) success(deleted: tag_names) else error('could not delete tags') |