mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Add ret dictionary
This commit is contained in:
parent
3099d9c3d5
commit
167a75e0a0
1 changed files with 5 additions and 0 deletions
|
@ -611,6 +611,11 @@ def upgrade(refresh=True, dist_upgrade=True):
|
|||
|
||||
salt '*' pkg.upgrade
|
||||
'''
|
||||
ret = {'changes': {},
|
||||
'result': True,
|
||||
'comment': '',
|
||||
}
|
||||
|
||||
if salt.utils.is_true(refresh):
|
||||
refresh_db()
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue