mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-30 15:05:27 +00:00
Alter the error message when an error list is put in an error list
This commit is contained in:
parent
74c7914f7e
commit
a68a493e4b
@ -140,7 +140,7 @@ func (list ValidationErrorList) Prefix(prefix string) ValidationErrorList {
|
||||
}
|
||||
list[i] = err
|
||||
} else {
|
||||
glog.Warningf("ValidationErrorList holds non-ValidationError: %T", list)
|
||||
glog.Warningf("Programmer error: ValidationErrorList holds non-ValidationError: %#v", list[i])
|
||||
}
|
||||
}
|
||||
return list
|
||||
|
Loading…
Reference in New Issue
Block a user