mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Only include new tags in changes
This commit is contained in:
parent
4b1df2f223
commit
2728e5d977
1 changed files with 3 additions and 4 deletions
|
@ -1322,10 +1322,9 @@ def latest(name,
|
|||
])
|
||||
if set(all_local_tags) != remote_tags:
|
||||
has_remote_rev = False
|
||||
ret['changes']['tags'] = {
|
||||
'old': all_local_tags,
|
||||
'new': list(remote_tags)
|
||||
}
|
||||
ret['changes']['new_tags'] = remote_tags.symmetric_difference(
|
||||
all_local_tags
|
||||
)
|
||||
|
||||
if not has_remote_rev:
|
||||
try:
|
||||
|
|
Loading…
Add table
Reference in a new issue