Merge pull request #86113 from haosdent/clean-e2e-framework-log

e2e: remove unused method in e2e/framework/log
This commit is contained in:
Kubernetes Prow Robot 2019-12-16 21:38:54 -08:00 committed by GitHub
commit e2cd6ff235
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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