From 4efd97c7132be0dd017dacc82b9c4220c791f9ec Mon Sep 17 00:00:00 2001 From: Somtochi Onyekwere Date: Wed, 17 Mar 2021 03:30:18 +0100 Subject: [PATCH] Uses suspendGuage Signed-off-by: Somtochi Onyekwere --- runtime/metrics/recorder.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/metrics/recorder.go b/runtime/metrics/recorder.go index 8a7a79aa..3b64cc32 100644 --- a/runtime/metrics/recorder.go +++ b/runtime/metrics/recorder.go @@ -74,7 +74,7 @@ func (r *Recorder) RecordSuspend(ref corev1.ObjectReference, suspend bool) { value = 1 } - r.conditionGauge.WithLabelValues(ref.Kind, ref.Name, ref.Namespace).Set(value) + r.suspendGauge.WithLabelValues(ref.Kind, ref.Name, ref.Namespace).Set(value) } func (r *Recorder) RecordDuration(ref corev1.ObjectReference, start time.Time) {