gitlab-org--gitlab-foss/app/services/projects/container_repository/base_container_repository_s...

18 lines
488 B
Ruby

# frozen_string_literal: true
module Projects
module ContainerRepository
class BaseContainerRepositoryService < ::BaseContainerService
include ::Gitlab::Utils::StrongMemoize
alias_method :container_repository, :container
def initialize(container_repository:, current_user: nil, params: {})
super(container: container_repository, current_user: current_user, params: params)
end
delegate :project, to: :container_repository
end
end
end