You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
statusMessage=fmt.Sprintf("%s; last commit %s at %s", statusMessage, lastCommit[:7], lastTime.Format(time.RFC3339))
}
} else {
returnfailWithError(err)
}
When the lastTime.Format is called it is not certain that lastTime is not a nil-pointer. As such, similar to a check on lastCommit there should be a check on whether lastTime is nil.
The text was updated successfully, but these errors were encountered:
At the moment there is no error message returned if lastCommit is an empty string, is this okay to stay this way or should there be an else failWithError at this point?
I guess the statusMessage would still be no updates made which is still relevant in that case?
From Ada Logics:
image-automation-controller/controllers/imageupdateautomation_controller.go
Lines 310 to 320 in 674f833
The text was updated successfully, but these errors were encountered: