e2e: remove unused method in e2e/framework/log

This commit is contained in:
Haosdent Huang 2019-12-10 16:00:37 +08:00
parent 2fbe432d23
commit 6df97909bb

View File

@ -52,14 +52,3 @@ func FailfWithOffset(offset int, format string, args ...interface{}) {
log("FAIL", msg)
ginkgowrapper.Fail(nowStamp()+": "+msg, 1+offset)
}
// Fail is a replacement for ginkgo.Fail which logs the problem as it occurs
// and then calls ginkgowrapper.Fail.
func Fail(msg string, callerSkip ...int) {
skip := 1
if len(callerSkip) > 0 {
skip += callerSkip[0]
}
log("FAIL", msg)
ginkgowrapper.Fail(nowStamp()+": "+msg, skip)
}