mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 19:01:49 +00:00
Merge pull request #102069 from neolit123/1.22-kubeadm-util-use-k8s.io-link
kubeadm: use git.k8s.io link in app/util/error.go
This commit is contained in:
commit
22ec3b0edd
@ -76,7 +76,7 @@ func checkErr(err error, handleErr func(string, int)) {
|
||||
// assume that the "v" flag contains a parseable Int32 as per klog's "Level" type alias,
|
||||
// thus no error from ParseInt is handled here.
|
||||
if v, e := strconv.ParseInt(f.Value.String(), 10, 32); e == nil {
|
||||
// https://github.com/kubernetes/community/blob/master/contributors/devel/sig-instrumentation/logging.md
|
||||
// https://git.k8s.io/community/contributors/devel/sig-instrumentation/logging.md
|
||||
// klog.V(5) - Trace level verbosity
|
||||
if v > 4 {
|
||||
msg = fmt.Sprintf("%+v", err)
|
||||
|
Loading…
Reference in New Issue
Block a user