Skip to content

Commit

Permalink
Merge pull request #25285 from thusoy/patch-3
Browse files Browse the repository at this point in the history
Remove error logging of missing victorops keys
  • Loading branch information
jfindlay committed Jul 9, 2015
2 parents 06347f3 + 3a8ad1e commit fa13f3e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions salt/modules/victorops.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,7 @@ def __virtual__():
'''
if not __salt__['config.get']('victorops.api_key') and \
not __salt__['config.get']('victorops:api_key'):
log.error(_api_key_missing_error)
return False
return (False, _api_key_missing_error)
return True


Expand Down

0 comments on commit fa13f3e

Please sign in to comment.