Merge pull request #7173 from cvrebert/patch-3

honor `profile` arg to modjk.list_running_members()
This commit is contained in:
Joseph Hall 2013-09-11 05:36:15 -07:00
commit 5732ad15db

View File

@ -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: