typo corrected in structure.go (#10415)

This commit is contained in:
cagriy 2016-11-29 15:49:34 +00:00 committed by Paul Stack
parent 3bf93501a1
commit 8cdafe0508
1 changed files with 1 additions and 1 deletions

View File

@ -166,7 +166,7 @@ func expandIPPerms(
// AWS's behavior in the error message.
if *perm.IpProtocol == "-1" && (*perm.FromPort != 0 || *perm.ToPort != 0) {
return nil, fmt.Errorf(
"from_port (%d) and to_port (%d) must both be 0 to use the the 'ALL' \"-1\" protocol!",
"from_port (%d) and to_port (%d) must both be 0 to use the 'ALL' \"-1\" protocol!",
*perm.FromPort, *perm.ToPort)
}