Class: Actions::Pulp3::Orchestration::Repository::RemoveUnits

Inherits:
Abstract
  • Object
show all
Includes:
Helpers::OutputPropagator
Defined in:
app/lib/actions/pulp3/orchestration/repository/remove_units.rb

Instance Method Summary collapse

Methods included from Helpers::OutputPropagator

included, #run

Methods inherited from Abstract

#smart_proxy

Instance Method Details

#plan(repository, smart_proxy, options) ⇒ Object



8
9
10
11
12
13
# File 'app/lib/actions/pulp3/orchestration/repository/remove_units.rb', line 8

def plan(repository, smart_proxy, options)
  sequence do
    action_output = plan_action(Actions::Pulp3::Repository::RemoveUnits, repository, smart_proxy, options).output
    plan_action(Pulp3::Repository::SaveVersion, repository, tasks: action_output[:pulp_tasks])
  end
end