mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 08:58:59 +00:00
Correct repair of salt-call -g
This commit is contained in:
parent
9600435b92
commit
82426ba9a4
@ -711,7 +711,7 @@ class SaltCall(object):
|
|||||||
if len(args) >= 1:
|
if len(args) >= 1:
|
||||||
opts['fun'] = args[0]
|
opts['fun'] = args[0]
|
||||||
opts['arg'] = args[1:]
|
opts['arg'] = args[1:]
|
||||||
elif opts['grains']:
|
elif opts['grains_run']:
|
||||||
pass
|
pass
|
||||||
else:
|
else:
|
||||||
# salt-call should not ever be called without arguments
|
# salt-call should not ever be called without arguments
|
||||||
|
Loading…
Reference in New Issue
Block a user