Merge pull request #67931 from tanshanshan/littleprint

make error info clearly
pull/564/head
k8s-ci-robot 2018-11-28 21:44:28 -08:00 committed by GitHub
commit 8b11fda27b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ func (o *CombinedInsecureServingOptions) Validate() []error {
} }
if len(o.BindAddress) > 0 && net.ParseIP(o.BindAddress) == nil { if len(o.BindAddress) > 0 && net.ParseIP(o.BindAddress) == nil {
errors = append(errors, fmt.Errorf("--address has no valid IP address")) errors = append(errors, fmt.Errorf("--address %v is an invalid IP address", o.BindAddress))
} }
return errors return errors