Sha256: b686ba44f89e7e73f05a78ba58831bef73f44f8d53dca675cf3014bd85a46184
Contents?: true
Size: 461 Bytes
Versions: 13
Compression:
Stored size: 461 Bytes
Contents
module Actions module Katello module Repository class IndexErrata < Actions::EntryAction def plan(repository) plan_self(:user_id => ::User.current.id, :id => repository.id) end def run ::User.current = ::User.find(input[:user_id]) repo = ::Katello::Repository.find(input[:id]) repo.index_db_errata ensure ::User.current = nil end end end end end
Version data entries
13 entries across 13 versions & 1 rubygems