INNER CODE UNIT · Go
FailfWithOffset
rancher/system-upgrade-controller · e2e/framework/logging.go:35
func FailfWithOffset(offset int, format string, args ...interface{}) {
msg := fmt.Sprintf(format, args...)
Logf("FAIL", msg)
framework.Fail(nowStamp()+": "+msg, 1+offset)
}
func nowStamp() string {
return time.Now().Format(time.StampMilli)
}