mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-06 10:43:56 +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
|
list[i] = err
|
||||||
} else {
|
} else {
|
||||||
glog.Warningf("ValidationErrorList holds non-ValidationError: %T", list)
|
glog.Warningf("Programmer error: ValidationErrorList holds non-ValidationError: %#v", list[i])
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
return list
|
return list
|
||||||
|
Loading…
Reference in New Issue
Block a user