app/controllers/api/v2/node/containers_controller.rb
# POST /mark_bootstrapped
# Mark container as bootstrapped
POST /mark_bootstrapped
Mark container as bootstrapped
POST / mark_bootstrapped Mark container as bootstrapped
def mark_bootstrapped
    @container = current_node.containers.exists.find_by(
      hostname: params[:hostname],
      status: 'BOOTSTRAP_STARTED'
    )
    @container.update_status('BOOTSTRAPPED')
    render json: ::Api::V2::Node::ContainerSerializer.new(@container).to_h
  end
def mark_bootstrapped @container = current_node . containers . exists . find_by ( hostname : params [ :hostname ] , status : 'BOOTSTRAP_STARTED' ) @container . update_status ( 'BOOTSTRAPPED' ) render json : :: Api :: V2 :: Node :: ContainerSerializer . new ( @container ) . to_h end
POST /mark_bootstrapped
Mark container as bootstrapped
POST / mark_bootstrapped Mark container as bootstrapped