mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-09-20 01:23:48 +00:00
cleanup: fix some log and error capitalizations
Part of https://github.com/kubernetes/kubernetes/issues/15863
This commit is contained in:
@@ -267,7 +267,7 @@ func needsCleanup(j *batch.Job) bool {
|
||||
|
||||
func getFinishAndExpireTime(j *batch.Job) (*time.Time, *time.Time, error) {
|
||||
if !needsCleanup(j) {
|
||||
return nil, nil, fmt.Errorf("Job %s/%s should not be cleaned up", j.Namespace, j.Name)
|
||||
return nil, nil, fmt.Errorf("job %s/%s should not be cleaned up", j.Namespace, j.Name)
|
||||
}
|
||||
finishAt, err := jobFinishTime(j)
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user