Skip to content
This repository has been archived by the owner on Jun 29, 2022. It is now read-only.

Commit

Permalink
Update in response to review comments
Browse files Browse the repository at this point in the history
Thanks to elyezer for the review.
  • Loading branch information
Noah Lavine committed Sep 12, 2017
1 parent edcc6dc commit c1a7813
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions library/spit_results.py
Expand Up @@ -207,10 +207,6 @@ def process_jboss_versions(fact_names, host_vars):
elif version.strip():
jboss_releases.append('Unknown-Release: ' + version)

running_versions = safe_ansible_property(host_vars,
JBOSS_RUNNING_VERSIONS,
'stdout')

def empty_output_message(val, name):
"""Give the right error message for missing data.
Expand All @@ -235,7 +231,11 @@ def empty_output_message(val, name):
empty_output_message('; '.join(deploy_dates), 'jboss'))
if JBOSS_RUNNING_VERSIONS in fact_names:
val[JBOSS_RUNNING_VERSIONS] = (
empty_output_message(running_versions, 'running jboss'))
empty_output_message(
safe_ansible_property(host_vars,
JBOSS_RUNNING_VERSIONS,
'stdout'),
'running jboss'))

return val

Expand Down

0 comments on commit c1a7813

Please sign in to comment.