Update is_windows path to use platform

This commit is contained in:
rallytime 2018-05-21 09:59:08 -04:00
parent f04b19b5b6
commit f79da64bb0
No known key found for this signature in database
GPG key ID: E8F1A4B90D0DEA19

View file

@ -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.