Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
eilam20 committed Jan 22, 2023
1 parent 2973354 commit 22ea20e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ def template_id
template_id = @handle.root.attributes['dialog_template']
end
raise 'server profile template not specified' if template_id.blank?

template_id
end

Expand All @@ -51,7 +52,6 @@ def deploy_from_options
manager.create_server_profile_and_deploy_task(template_id, @server_id, @profile_name)
end


def log(level, msg, update_message = false)
@handle.log(level, msg)
@handle.root['miq_provision'].message = msg if @handle.root['miq_provision'] && update_message
Expand All @@ -65,5 +65,4 @@ def log(level, msg, update_message = false)
end
end


ManageIQ::Automate::PhysicalInfrastructure::CiscoIntersight::Services::DeployServer::Methods::DeployServerProfileTemplate.new.main

0 comments on commit 22ea20e

Please sign in to comment.