mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-10-07 11:04:44 +00:00
improve the error message of update pod
This commit is contained in:
@@ -102,7 +102,7 @@ func (v *ValidationError) ErrorBody() string {
|
||||
s = spew.Sprintf("%s '%+v'", v.Type, v.BadValue)
|
||||
}
|
||||
if len(v.Detail) != 0 {
|
||||
s += fmt.Sprintf(": %s", v.Detail)
|
||||
s += fmt.Sprintf(", Details: %s", v.Detail)
|
||||
}
|
||||
return s
|
||||
}
|
||||
|
Reference in New Issue
Block a user