Skip to content

Commit

Permalink
Update pkg/monitoring/prometheusagent/service.go
Browse files Browse the repository at this point in the history
QuentinBisson authored Apr 10, 2024
1 parent e233160 commit 989fe74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/monitoring/prometheusagent/service.go
Original file line number Diff line number Diff line change
@@ -152,7 +152,7 @@ func (pas PrometheusAgentService) createOrUpdateSecret(ctx context.Context,

func (pas *PrometheusAgentService) DeleteRemoteWriteConfig(ctx context.Context, cluster *clusterv1.Cluster) error {
logger := log.FromContext(ctx).WithValues("cluster", cluster.Name)
logger.Info("deleting prometheus agent remote write configuration")
logger.Info("deleting prometheus agent remote write configmap and secret")

err := pas.deleteConfigMap(ctx, cluster)
if err != nil {

0 comments on commit 989fe74

Please sign in to comment.