mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 03:11:40 +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,
|
// assume that the "v" flag contains a parseable Int32 as per klog's "Level" type alias,
|
||||||
// thus no error from ParseInt is handled here.
|
// thus no error from ParseInt is handled here.
|
||||||
if v, e := strconv.ParseInt(f.Value.String(), 10, 32); e == nil {
|
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
|
// klog.V(5) - Trace level verbosity
|
||||||
if v > 4 {
|
if v > 4 {
|
||||||
msg = fmt.Sprintf("%+v", err)
|
msg = fmt.Sprintf("%+v", err)
|
||||||
|
Loading…
Reference in New Issue
Block a user