Merge pull request #29358 from spuder/elasticsearch

Adds elasticsearch warning
This commit is contained in:
Colton Myers 2015-12-02 18:05:53 -07:00
commit e639d01f75

View File

@ -63,7 +63,7 @@ def __virtual__():
Only load if elasticsearch libraries exist. Only load if elasticsearch libraries exist.
''' '''
if not HAS_ELASTICSEARCH: if not HAS_ELASTICSEARCH:
return False return (False, 'Cannot load module elasticsearch: elasticsearch libraries not found')
return True return True