mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #29455 from jfindlay/nova_none
modules.nova.__init__: do not return ``None``
This commit is contained in:
commit
5ff3749108
1 changed files with 4 additions and 1 deletions
|
@ -59,7 +59,10 @@ def __virtual__():
|
|||
Only load this module if nova
|
||||
is installed on this minion.
|
||||
'''
|
||||
return suon.check_nova()
|
||||
if suon.check_nova():
|
||||
return 'nova'
|
||||
else:
|
||||
return False
|
||||
|
||||
|
||||
__opts__ = {}
|
||||
|
|
Loading…
Add table
Reference in a new issue