Unverified Commit 8b11fda2 authored by k8s-ci-robot's avatar k8s-ci-robot Committed by GitHub

Merge pull request #67931 from tanshanshan/littleprint

make error info clearly
parents 0b78c0b4 d6b3dcf5
...@@ -157,7 +157,7 @@ func (o *CombinedInsecureServingOptions) Validate() []error { ...@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment