mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 19:56:01 +00:00
e2e: remove unused method in e2e/framework/log
This commit is contained in:
parent
2fbe432d23
commit
6df97909bb
@ -52,14 +52,3 @@ func FailfWithOffset(offset int, format string, args ...interface{}) {
|
|||||||
log("FAIL", msg)
|
log("FAIL", msg)
|
||||||
ginkgowrapper.Fail(nowStamp()+": "+msg, 1+offset)
|
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)
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user