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:
Kubernetes Prow Robot 2021-05-18 13:17:17 -07:00 committed by GitHub
commit 22ec3b0edd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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)