mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 17:33:54 +00:00
Merge pull request #7173 from cvrebert/patch-3
honor `profile` arg to modjk.list_running_members()
This commit is contained in:
commit
5732ad15db
@ -203,7 +203,7 @@ def list_running_members(lbn, profile='default'):
|
||||
salt '*' modjk.list_running_members loadbalancer1 other-profile
|
||||
'''
|
||||
|
||||
config = get_running()
|
||||
config = get_running(profile)
|
||||
try:
|
||||
return config['worker.{0}.balance_workers'.format(lbn)].split(',')
|
||||
except KeyError:
|
||||
|
Loading…
Reference in New Issue
Block a user