Merge pull request #28647 from rallytime/bp-28624

Back-port #28624 to 2015.8
This commit is contained in:
Nicole Thomas 2015-11-06 11:18:32 -07:00
commit a829120746

View File

@ -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