mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #54143 from Akm0d/openstack_fix
Don't call potentially missing shade library (#53734)
This commit is contained in:
commit
5bef520241
1 changed files with 6 additions and 0 deletions
|
@ -273,6 +273,12 @@ def get_dependencies():
|
|||
'''
|
||||
Warn if dependencies aren't met.
|
||||
'''
|
||||
if not HAS_SHADE:
|
||||
log.warning('"shade" not found')
|
||||
return False
|
||||
elif hasattr(HAS_SHADE, '__len__') and not HAS_SHADE[0]:
|
||||
log.warning(HAS_SHADE[1])
|
||||
return False
|
||||
deps = {
|
||||
'shade': shade[0],
|
||||
'os_client_config': shade[0],
|
||||
|
|
Loading…
Add table
Reference in a new issue