fix aws cidr validation error (#15158)

This commit is contained in:
Puneeth Nanjundaswamy 2017-06-09 12:38:34 +02:00 committed by Paul Stack
parent 2c09677bb6
commit 4d7c0d4924
1 changed files with 1 additions and 2 deletions

View File

@ -398,8 +398,7 @@ func validateCIDRNetworkAddress(v interface{}, k string) (ws []string, errors []
if ipnet == nil || value != ipnet.String() {
errors = append(errors, fmt.Errorf(
"%q must contain a valid network CIDR, expected %q, got %q",
k, ipnet, value))
"%q must contain a valid network CIDR, got %q", k, value))
}
return