Skip to content

Commit

Permalink
missed adjustments and comments
Browse files Browse the repository at this point in the history
  • Loading branch information
jarededwards committed Oct 22, 2023
1 parent 06fd779 commit 6ec6cd2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion providers/google/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -252,7 +252,7 @@ func DeleteGoogleCluster(cl *pkgtypes.Cluster, segmentClient *telemetry.SegmentC
}
}

//telemetry.Transmit(segmentClient, telemetry.MetricClusterDeleteCompleted, "")
telemetry.SendCountMetric(segmentClient, metrics.ClusterDeleteCompleted, "")

err = db.Client.UpdateCluster(cl.ClusterName, "status", constants.ClusterStatusDeleted)
if err != nil {
Expand Down
2 changes: 1 addition & 1 deletion providers/vultr/delete.go
Original file line number Diff line number Diff line change
Expand Up @@ -280,7 +280,7 @@ func DeleteVultrCluster(cl *pkgtypes.Cluster, segmentClient *telemetry.SegmentCl
}
}

//telemetry.Transmit(segmentClient, telemetry.MetricClusterDeleteCompleted, "")
telemetry.SendCountMetric(segmentClient, metrics.ClusterDeleteCompleted, "")

err = db.Client.UpdateCluster(cl.ClusterName, "status", constants.ClusterStatusDeleted)
if err != nil {
Expand Down

0 comments on commit 6ec6cd2

Please sign in to comment.