Commit d6b3dcf5 authored by tanshanshan's avatar tanshanshan

make error info clearly

parent 459b5378
......@@ -157,7 +157,7 @@ func (o *CombinedInsecureServingOptions) Validate() []error {
}
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
......
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