Merge pull request #88828 from msau42/fix-skip-log

Fix log formatting for skipper.
This commit is contained in:
Kubernetes Prow Robot 2020-03-05 00:54:37 -08:00 committed by GitHub
commit 364c66ed9c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,12 +20,13 @@ import (
"bufio"
"bytes"
"fmt"
"github.com/onsi/ginkgo"
"regexp"
"runtime"
"runtime/debug"
"strings"
"github.com/onsi/ginkgo"
apierrors "k8s.io/apimachinery/pkg/api/errors"
metav1 "k8s.io/apimachinery/pkg/apis/meta/v1"
"k8s.io/apimachinery/pkg/runtime/schema"
@ -44,7 +45,7 @@ var TestContext framework.TestContextType
func skipInternalf(caller int, format string, args ...interface{}) {
msg := fmt.Sprintf(format, args...)
framework.Logf("INFO", msg)
framework.Logf(msg)
skip(msg, caller+1)
}