Commit 35492462 authored by Karl-Philipp Richter's avatar Karl-Philipp Richter

Correct spelling of timed out in literals

parent cc79602d
......@@ -630,7 +630,7 @@ func (mr *RunCommand) handleShutdown() error {
return fmt.Errorf("forced exit: %v", mr.stopSignal)
case <-time.After(common.ShutdownTimeout * time.Second):
return errors.New("shutdown timedout")
return errors.New("shutdown timed out")
case <-mr.runFinished:
// Everything finished we can exit now
......
......@@ -54,7 +54,7 @@ func waitForInterrupts(finished *abool.AtomicBool, abortSignal chan os.Signal, d
case newSignal := <-interruptSignals:
log.Fatalln("forced exit:", newSignal)
case <-time.After(common.ShutdownTimeout * time.Second):
log.Fatalln("shutdown timedout")
log.Fatalln("shutdown timed out")
case <-doneSignal:
}
}
......
......@@ -201,7 +201,7 @@ func waitForPodRunning(ctx context.Context, c *kubernetes.Clientset, pod *api.Po
return api.PodUnknown, ctx.Err()
}
}
return api.PodUnknown, errors.New("timedout waiting for pod to start")
return api.PodUnknown, errors.New("timed out waiting for pod to start")
}
// limits takes a string representing CPU & memory limits,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment