Class: UffizziCore::Api::Cli::V1::Projects::Deployments::Containers::ApplicationController

Inherits:
ApplicationController
  • Object
show all
Defined in:
app/controllers/uffizzi_core/api/cli/v1/projects/deployments/containers/application_controller.rb

Direct Known Subclasses

LogsController

Instance Method Summary collapse

Instance Method Details

#resource_containerObject



5
6
7
# File 'app/controllers/uffizzi_core/api/cli/v1/projects/deployments/containers/application_controller.rb', line 5

def resource_container
  @resource_container ||= resource_deployment.active_containers.find_by!(service_name: params[:container_name])
end