Revision 017c63dd
Added by David Davis about 10 years ago
app/lib/actions/katello/content_view/promote.rb | ||
---|---|---|
|
||
def plan(version, environment)
|
||
action_subject(version.content_view)
|
||
version.check_ready_to_promote!
|
||
|
||
history = ::Katello::ContentViewHistory.create!(:content_view_version => version, :user => ::User.current.login,
|
||
:environment => environment, :task => self.task,
|
Also available in: Unified diff
Fixes #4689 - Handle default content views in API/CLI