Skip to content

Commit

Permalink
Fix "template not found" logging
Browse files Browse the repository at this point in the history
  • Loading branch information
abays authored Aug 30, 2016
1 parent 647c964 commit 6f65b43
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ def get_cluster_info(parent_service, network_service)
configuration_manager = $evm.vmdb('ManageIQ_Providers_AnsibleTower_ConfigurationManager').find_by_name(ansible_manager_name)
template = $evm.vmdb('ConfigurationScript').find_by_name(template_name)

$evm.log("info", "Template #{template.name} not found") unless template
$evm.log("info", "Template #{template_name} not found") unless template
$evm.log("info", "Configuration manager #{ansible_manager_name} not found") unless configuration_manager
next if !template || !configuration_manager
$evm.log("info", "Found template #{template.name}")
Expand Down

0 comments on commit 6f65b43

Please sign in to comment.