debian-mirror-gitlab/app/helpers/container_registry_helper.rb
2020-11-24 15:15:51 +05:30

8 lines
234 B
Ruby

# frozen_string_literal: true
module ContainerRegistryHelper
def limit_delete_tags_service?
Feature.enabled?(:container_registry_expiration_policies_throttling) &&
ContainerRegistry::Client.supports_tag_delete?
end
end