mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Clarify code comment
This commit is contained in:
parent
8af2cfd54a
commit
8ec058f498
1 changed files with 1 additions and 0 deletions
|
@ -1236,6 +1236,7 @@ def install(name=None, refresh=False, pkgs=None, **kwargs):
|
|||
|
||||
if version_num.lower() == 'latest' and 'latest' not in pkginfo:
|
||||
# Get the most recent version number available from winrepo.p
|
||||
# May also return `latest` or and empty string
|
||||
version_num = _get_latest_pkg_version(pkginfo)
|
||||
|
||||
# Check if the version is already installed
|
||||
|
|
Loading…
Add table
Reference in a new issue