Update old invalid_kwargs path to use new utils path

This commit is contained in:
rallytime 2018-06-06 13:38:06 -04:00
parent 7dc1e770c4
commit bf08bcf5f9
No known key found for this signature in database
GPG Key ID: E8F1A4B90D0DEA19

View File

@ -3906,7 +3906,7 @@ def remote_refs(url,
kwargs = salt.utils.args.clean_kwargs(**kwargs)
filter_ = kwargs.pop('filter', None)
if kwargs:
salt.utils.invalid_kwargs(kwargs)
salt.utils.args.invalid_kwargs(kwargs)
command = ['git', 'ls-remote']
if heads: