From 6ec6cd227ffc09f524cf38ca928a70949f8901bd Mon Sep 17 00:00:00 2001 From: Jared Edwards Date: Sat, 21 Oct 2023 21:17:40 -0600 Subject: [PATCH] missed adjustments and comments --- providers/google/delete.go | 2 +- providers/vultr/delete.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/providers/google/delete.go b/providers/google/delete.go index 0ea8855b..3e28c3a7 100644 --- a/providers/google/delete.go +++ b/providers/google/delete.go @@ -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 { diff --git a/providers/vultr/delete.go b/providers/vultr/delete.go index 8437fdaf..a4c55478 100644 --- a/providers/vultr/delete.go +++ b/providers/vultr/delete.go @@ -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 {