mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
kubeadm: use git.k8s.io link in app/util/error.go
Adapt for the future transition of kubernetes/community to have "main" as its development branch. Use: https://git.k8s.io/community/...
This commit is contained in:
parent
b1b06fe0a4
commit
1b4bf420b4
@ -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