mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Update is_windows path to use platform
This commit is contained in:
parent
f04b19b5b6
commit
f79da64bb0
1 changed files with 1 additions and 1 deletions
|
@ -2512,7 +2512,7 @@ def latest(
|
|||
'result': None,
|
||||
'comment': '\n'.join(comments)}
|
||||
|
||||
if salt.utils.is_windows():
|
||||
if salt.utils.platform.is_windows():
|
||||
# pkg.install execution module on windows ensures the software
|
||||
# package is installed when no version is specified, it does not
|
||||
# upgrade the software to the latest. This is per the design.
|
||||
|
|
Loading…
Add table
Reference in a new issue