Sha256: 32d5e6ea17b7680a85d4eb9e100b817ea48eb1a164278eef01c435d6bbca0132
Contents?: true
Size: 527 Bytes
Versions: 6
Compression:
Stored size: 527 Bytes
Contents
module Actions module Pulp3 module Repository class SaveVersion < Pulp3::Abstract def plan(repository, tasks) plan_self(:repository_id => repository.id, :tasks => tasks) end def run publication_href = input[:tasks].first[:created_resources].first if publication_href repo = ::Katello::Repository.find(input[:repository_id]) repo.update_attributes(:version_href => publication_href) end end end end end end
Version data entries
6 entries across 6 versions & 1 rubygems