From d72db6921cd42679e4de4fed4ad8f038dc842fc6 Mon Sep 17 00:00:00 2001 From: Benjamin Jorand Date: Mon, 23 Jan 2023 13:25:07 +0100 Subject: [PATCH] remove unwanted change --- internal/wrapper.go | 1 + 1 file changed, 1 insertion(+) diff --git a/internal/wrapper.go b/internal/wrapper.go index 1a63fde534..b83f74651a 100644 --- a/internal/wrapper.go +++ b/internal/wrapper.go @@ -34,6 +34,7 @@ import ( // RunKubeStateMetricsWrapper is a wrapper around KSM, delegated to the root command. func RunKubeStateMetricsWrapper(opts *options.Options) { + KSMRunOrDie := func(ctx context.Context) { if err := app.RunKubeStateMetricsWrapper(ctx, opts); err != nil { klog.ErrorS(err, "Failed to run kube-state-metrics")