Fix log formatting for skipper. "INFO" is already logged by Logf, and it

wasn't in the format syntax.

Change-Id: I760007c9c524bb465f428eb70e7fb30993475086
This commit is contained in:
Michelle Au 2020-03-04 17:43:21 -08:00
parent d7e7136bbc
commit 3ee30343cc

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