have modjk.workers() honor profile arg

salt/modules/modjk.py:194: [W0613(unused-argument), workers] Unused argument 'profile'
This commit is contained in:
Chris Rebert 2013-09-16 12:46:55 -07:00 committed by Chris Rebert
parent 106cd6a9d2
commit ffeb627909

View File

@ -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 = {}