mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 01:18:58 +00:00
have modjk.workers() honor profile
arg
salt/modules/modjk.py:194: [W0613(unused-argument), workers] Unused argument 'profile'
This commit is contained in:
parent
106cd6a9d2
commit
ffeb627909
@ -203,7 +203,7 @@ def workers(profile='default'):
|
||||
salt '*' modjk.workers other-profile
|
||||
'''
|
||||
|
||||
config = get_running()
|
||||
config = get_running(profile)
|
||||
lbn = config['worker.list'].split(',')
|
||||
worker_list = []
|
||||
ret = {}
|
||||
|
Loading…
Reference in New Issue
Block a user