mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
parent
8c46d69251
commit
52d47cece9
1 changed files with 1 additions and 1 deletions
|
@ -323,7 +323,7 @@ class SPMClient(object):
|
|||
metadata = yaml.safe_load(rpm)
|
||||
else:
|
||||
response = http.query(dl_path, text=True)
|
||||
metadata = response.get('text', {})
|
||||
metadata = yaml.safe_load(response.get('text', '{}'))
|
||||
cache_path = '{0}/{1}.p'.format(
|
||||
self.opts['spm_cache_dir'],
|
||||
repo
|
||||
|
|
Loading…
Add table
Reference in a new issue