mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
another fix for changes that were breaking automated tests.
This commit is contained in:
parent
e64fbd5c25
commit
b29984d81e
@ -386,7 +386,7 @@ def install(name=None,
|
|||||||
refreshdb = False
|
refreshdb = False
|
||||||
if salt.utils.is_true(refresh):
|
if salt.utils.is_true(refresh):
|
||||||
refreshdb = True
|
refreshdb = True
|
||||||
if 'version' in kwargs:
|
if 'version' in kwargs and kwargs['version']:
|
||||||
refreshdb = False
|
refreshdb = False
|
||||||
_latest_version = latest_version(name, refresh=False, show_installed=True)
|
_latest_version = latest_version(name, refresh=False, show_installed=True)
|
||||||
_version = kwargs.get('version')
|
_version = kwargs.get('version')
|
||||||
|
Loading…
Reference in New Issue
Block a user