diff --git a/.commitlintrc.json b/.commitlintrc.json index 05b430a34..427dcd7ea 100644 --- a/.commitlintrc.json +++ b/.commitlintrc.json @@ -15,6 +15,7 @@ "core", "csi", "docs", + "exporter", "external", "file", "helm", diff --git a/pkg/operator/k8sutil/prometheus.go b/pkg/operator/k8sutil/prometheus.go index e06ada871..fe9bd664e 100644 --- a/pkg/operator/k8sutil/prometheus.go +++ b/pkg/operator/k8sutil/prometheus.go @@ -108,7 +108,7 @@ func DeleteServiceMonitor(context *clusterd.Context, ctx context.Context, ns str } _, err = client.MonitoringV1().ServiceMonitors(ns).Get(ctx, name, metav1.GetOptions{}) if err != nil { - // Either the service monitor does not exist or there are not privileges to detect it + // Either the service monitor does not exist or there are no privileges to detect it // so we ignore any errors return nil }