Update k8s.io/utils

This commit is contained in:
Jordan Liggitt
2020-07-31 10:44:33 -04:00
parent 6324c137ea
commit c11e52f410
31 changed files with 61 additions and 62 deletions

2
vendor/k8s.io/utils/trace/trace.go generated vendored
View File

@@ -197,7 +197,7 @@ func (t *Trace) logTrace() {
}
// if any step took more than it's share of the total allowed time, it deserves a higher log level
buffer.WriteString(fmt.Sprintf("(%v) (total time: %vms):", t.startTime.Format("02-Jan-2006 15:04:00.000"), totalTime.Milliseconds()))
buffer.WriteString(fmt.Sprintf("(%v) (total time: %vms):", t.startTime.Format("02-Jan-2006 15:04:05.000"), totalTime.Milliseconds()))
stepThreshold := t.calculateStepThreshold()
t.writeTraceSteps(&buffer, fmt.Sprintf("\nTrace[%d]: ", traceNum), stepThreshold)
buffer.WriteString(fmt.Sprintf("\nTrace[%d]: [%v] [%v] END\n", traceNum, t.endTime.Sub(t.startTime), totalTime))