mirror of
https://github.com/saltstack/salt.git
synced 2025-04-17 10:10:20 +00:00
Merge pull request #28647 from rallytime/bp-28624
Back-port #28624 to 2015.8
This commit is contained in:
commit
a829120746
1 changed files with 1 additions and 1 deletions
|
@ -74,7 +74,7 @@ def __virtual__():
|
|||
Only load if boto libraries exist.
|
||||
'''
|
||||
if not HAS_BOTO:
|
||||
return False
|
||||
return (False, 'The boto_cloudwatch module cannot be loaded: boto libraries are unavailable.')
|
||||
__utils__['boto.assign_funcs'](__name__, 'cloudwatch',
|
||||
module='ec2.cloudwatch')
|
||||
return True
|
||||
|
|
Loading…
Add table
Reference in a new issue