blob: d7539737e7837d9dbcefb2f2acf7e900b0eedf60 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
# 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
|