Skip to content

Commit

Permalink
Merge branch '2014.7' into develop
Browse files Browse the repository at this point in the history
  • Loading branch information
basepi committed Aug 7, 2014
2 parents 143f655 + eed5339 commit aa78ebb
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions salt/runners/manage.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,18 +235,18 @@ def versions():

version_status = {}

master_version = salt.version.SaltStackVersion.parse(salt.__version__)
master_version = salt.version.__saltstack_version__

for minion in minions:
minion_version = salt.version.SaltStackVersion.parse(minions[minion])
ver_diff = cmp(minion_version, master_version)

if ver_diff not in version_status:
version_status[ver_diff] = {}
version_status[ver_diff][minion] = str(minion_version)
version_status[ver_diff][minion] = minion_version.string

# Add version of Master to output
version_status[2] = str(master_version)
version_status[2] = master_version.string

ret = {}
for key in version_status:
Expand Down

0 comments on commit aa78ebb

Please sign in to comment.