fix IPAddress.Name validation message
Change-Id: Idc29166d69c1eadd6e4dac3bf16f4a6739f98be2
This commit is contained in:
@@ -656,7 +656,7 @@ func ValidateIPAddressName(name string, prefix bool) []string {
|
||||
if err != nil {
|
||||
errs = append(errs, err.Error())
|
||||
} else if ip.String() != name {
|
||||
errs = append(errs, "not a valid ip in canonical format")
|
||||
errs = append(errs, "must be a canonical format IP address")
|
||||
|
||||
}
|
||||
return errs
|
||||
|
Reference in New Issue
Block a user