Class: Actions::Pulp::Repository::RemoveSchedule

Inherits:
Abstract
  • Object
show all
Defined in:
app/lib/actions/pulp/repository/remove_schedule.rb

Instance Method Summary collapse

Methods inherited from Abstract

#pulp_extensions, #pulp_resources

Instance Method Details

#runObject



9
10
11
12
# File 'app/lib/actions/pulp/repository/remove_schedule.rb', line 9

def run
  repo = ::Katello::Repository.find(input[:repo_id])
  output[:response] = repo.sync_schedule(nil)
end