Revert api call: it is about "functionname_async" suffix.

This commit is contained in:
Bo Maryniuk 2018-07-25 10:52:51 +02:00
parent 0543578336
commit e8608aa9be

View file

@ -120,7 +120,7 @@ class APIClient(object):
'''
cmd = dict(cmd) # make copy
client = 'minion' # default to local minion client
mode = cmd.get('mode', 'asynchronous') # default to 'asynchronous'
mode = cmd.get('mode', 'async')
# check for wheel or runner prefix to fun name to use wheel or runner client
funparts = cmd.get('fun', '').split('.')