mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Bugfix (follow-up): setting priority requires non-positive integer
This commit is contained in:
parent
79a46e091c
commit
3ca203eb8e
1 changed files with 1 additions and 1 deletions
|
@ -783,7 +783,7 @@ def mod_repo(repo, **kwargs):
|
|||
cmd_opt.append('--gpg-auto-import-keys')
|
||||
|
||||
if 'priority' in kwargs:
|
||||
cmd_opt.append("--priority='{0}'".format(kwargs.get('priority', DEFAULT_PRIORITY)))
|
||||
cmd_opt.append("--priority={0}".format(kwargs.get('priority', DEFAULT_PRIORITY)))
|
||||
|
||||
if 'humanname' in kwargs:
|
||||
cmd_opt.append("--name='{0}'".format(kwargs.get('humanname')))
|
||||
|
|
Loading…
Add table
Reference in a new issue