Skip to content

Commit

Permalink
Merge pull request #670 from JoelSpeed/machine-metrics
Browse files Browse the repository at this point in the history
RegisterFailedInstanceUpdate should update failedInstanceUpdateCount
  • Loading branch information
openshift-merge-robot committed Aug 6, 2020
2 parents f05e516 + 525ae0d commit 7074bf1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/metrics/metrics.go
Expand Up @@ -201,7 +201,7 @@ func RegisterFailedInstanceCreate(labels *MachineLabels) {
}

func RegisterFailedInstanceUpdate(labels *MachineLabels) {
failedInstanceCreateCount.With(prometheus.Labels{
failedInstanceUpdateCount.With(prometheus.Labels{
"name": labels.Name,
"namespace": labels.Namespace,
"reason": labels.Reason,
Expand Down

0 comments on commit 7074bf1

Please sign in to comment.