Skip to content

Commit

Permalink
quick fix for lastCanceledRun time
Browse files Browse the repository at this point in the history
  • Loading branch information
NorseGaud committed Dec 16, 2024
1 parent 0be0998 commit 2077495
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.11.0
0.11.1
3 changes: 3 additions & 0 deletions internal/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -267,6 +267,9 @@ func CompareAndUpdateMetrics(currentService interface{}, updatedPlugin interface
if !updated.LastFailedRun.IsZero() {
currentServiceTyped.LastFailedRun = updated.LastFailedRun
}
if !updated.LastCanceledRun.IsZero() {
currentServiceTyped.LastCanceledRun = updated.LastCanceledRun
}
if updated.LastSuccessfulRunJobUrl != "" {
currentServiceTyped.LastSuccessfulRunJobUrl = updated.LastSuccessfulRunJobUrl
}
Expand Down

0 comments on commit 2077495

Please sign in to comment.