Fixing cmd_batch to work correctly when called via salt-api.

This commit is contained in:
Gareth J. Greenaway 2018-06-20 21:32:27 -07:00
parent 09b036c26e
commit 808805fd3d
No known key found for this signature in database
GPG key ID: 10B62F8A7CAD7A41

View file

@ -559,6 +559,7 @@ class LocalClient(object):
{'stewart': {...}}
'''
if 'expr_form' in kwargs:
import salt.utils.versions
salt.utils.versions.warn_until(
'Fluorine',
'The target type should be passed using the \'tgt_type\' '