mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #27850 from rallytime/bp-27722
Back-port #27722 to 2015.8
This commit is contained in:
commit
ce1493e06b
1 changed files with 2 additions and 0 deletions
|
@ -125,6 +125,8 @@ def present(
|
|||
continue
|
||||
if isinstance(v, int) and v == int(v2):
|
||||
continue
|
||||
if isinstance(v, list) and sorted(v) == sorted(v2):
|
||||
continue
|
||||
difference.append("{0}='{1}' was: '{2}'".format(k, v, v2))
|
||||
else:
|
||||
difference.append("new alarm")
|
||||
|
|
Loading…
Add table
Reference in a new issue