summaryrefslogtreecommitdiff
path: root/pkg/metrics
diff options
context:
space:
mode:
authorJann Fischer <jann@mistrust.net>2024-07-12 10:43:43 -0400
committerGitHub <noreply@github.com>2024-07-12 10:43:43 -0400
commitd710745ffc26bfa437aa610331ee8060d12223dc (patch)
tree97319fd891838d66af9594ed7482b08001e4e2f6 /pkg/metrics
parenta65410b5e1f768339bdb39a9287134f22ffaa7a9 (diff)
chore(lint): Enable spelling linter (#773)
Signed-off-by: Jann Fischer <jann@mistrust.net>
Diffstat (limited to 'pkg/metrics')
-rw-r--r--pkg/metrics/metrics.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/metrics/metrics.go b/pkg/metrics/metrics.go
index 3b657cd..34a09cd 100644
--- a/pkg/metrics/metrics.go
+++ b/pkg/metrics/metrics.go
@@ -155,7 +155,7 @@ func (apm *ApplicationMetrics) IncreaseImageUpdate(application string, by int) {
apm.imagesUpdatedTotal.WithLabelValues(application).Add(float64(by))
}
-// IncreaseUpdateErrors increases the number of errors for given application occured during update process
+// IncreaseUpdateErrors increases the number of errors for given application occurred during update process
func (apm *ApplicationMetrics) IncreaseUpdateErrors(application string, by int) {
apm.imagesUpdatedErrorsTotal.WithLabelValues(application).Add(float64(by))
}