mirror of
https://github.com/valitydev/salt.git
synced 2024-11-08 09:23:56 +00:00
Merge pull request #29358 from spuder/elasticsearch
Adds elasticsearch warning
This commit is contained in:
commit
e639d01f75
@ -63,7 +63,7 @@ def __virtual__():
|
||||
Only load if elasticsearch libraries exist.
|
||||
'''
|
||||
if not HAS_ELASTICSEARCH:
|
||||
return False
|
||||
return (False, 'Cannot load module elasticsearch: elasticsearch libraries not found')
|
||||
return True
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user