mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
cp.get_url: fix variable type check
This commit is contained in:
parent
b33f4d7b93
commit
983f82fcf4
1 changed files with 1 additions and 1 deletions
|
@ -333,7 +333,7 @@ def get_url(path, dest, saltenv='base', env=None):
|
|||
# Backwards compatibility
|
||||
saltenv = env
|
||||
|
||||
if isinstance(dest, six.string_type):
|
||||
if isinstance(dest, six.string_types):
|
||||
result = _client().get_url(path, dest, False, saltenv)
|
||||
else:
|
||||
result = _client().get_url(path, None, False, saltenv, no_cache=True)
|
||||
|
|
Loading…
Add table
Reference in a new issue