Skip to content

Commit

Permalink
Fixing runtime metric storing bug
Browse files Browse the repository at this point in the history
  • Loading branch information
koala7659 committed Oct 2, 2024
1 parent bc098c4 commit 8b21244
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/controller/metrics/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ func (m Metrics) SetRuntimeStates(runtime v1.Runtime) {
}

func (m Metrics) CleanUpRuntimeGauge(runtimeID string) {
m.gardenerClustersStateGaugeVec.DeletePartialMatch(prometheus.Labels{
m.runtimeStateGauge.DeletePartialMatch(prometheus.Labels{
runtimeIDKeyName: runtimeID,
})
}
Expand Down

0 comments on commit 8b21244

Please sign in to comment.