mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #39462 from twangboy/win_fix_fileclient
Use url_path instead of url_data.path
This commit is contained in:
commit
63adc03484
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue