Replace exception message by the one sent by boto, because it is used for bot ingress and egress rules

This commit is contained in:
Yann Lambret 2016-04-19 23:50:12 +02:00
parent 100ec4e7c8
commit 0882174126

View File

@ -136,7 +136,7 @@ class InvalidPermissionNotFoundError(EC2ClientError):
def __init__(self):
super(InvalidPermissionNotFoundError, self).__init__(
"InvalidPermission.NotFound",
"Could not find a matching ingress rule")
"The specified rule does not exist in this security group")
class InvalidRouteTableIdError(EC2ClientError):