diff --git a/salt/modules/modjk.py b/salt/modules/modjk.py index 47aba866aa..800f7c9af3 100644 --- a/salt/modules/modjk.py +++ b/salt/modules/modjk.py @@ -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 = {}