Skip to content

Commit

Permalink
added debugging log message
Browse files Browse the repository at this point in the history
  • Loading branch information
Mathis Marcotte committed Aug 13, 2024
1 parent adfb686 commit 65f9459
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ func updateTimestampFromKernelsActivity(meta *metav1.ObjectMeta, kernels []Kerne
log.Error(err, "Error parsing the last-activity from the annotation")
return
}
log.Info(fmt.Sprintf("test times, %s, %s", oldTime.Format(time.RFC3339), recentTime.Format(time.RFC3339)))
log.Info(fmt.Sprintf("test times, %s, %s, %s", oldTime.Format(time.RFC3339), recentTime.Format(time.RFC3339), recentTime.After(oldTime)))
if !recentTime.After(oldTime) {
log.Info("No new activity detected on the kernels. Not updating last-activity")
return
Expand Down

0 comments on commit 65f9459

Please sign in to comment.