mirror of
https://github.com/valitydev/salt.git
synced 2024-11-07 17:09:03 +00:00
Use url_path instead of url_data.path
This commit is contained in:
parent
1acf00da3b
commit
a96bc13133
@ -477,7 +477,7 @@ class Client(object):
|
||||
'Path \'{0}\' is not absolute'.format(url_path)
|
||||
)
|
||||
if dest is None:
|
||||
with salt.utils.fopen(url_data.path, 'r') as fp_:
|
||||
with salt.utils.fopen(url_path, 'r') as fp_:
|
||||
data = fp_.read()
|
||||
return data
|
||||
return url_path
|
||||
|
Loading…
Reference in New Issue
Block a user