Skip to content

Commit

Permalink
fix aws cidr validation error (#15158)
Browse files Browse the repository at this point in the history
  • Loading branch information
Puneeth-n authored and stack72 committed Jun 9, 2017
1 parent 2c09677 commit 4d7c0d4
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions builtin/providers/aws/validators.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 4d7c0d4

Please sign in to comment.