From a5fa0292b774d905fc00c1f53d96f5ae4a4bb8de Mon Sep 17 00:00:00 2001 From: Douglas Camata <159076+douglascamata@users.noreply.github.com> Date: Wed, 5 Jun 2024 13:01:46 +0200 Subject: [PATCH] Reformat files Signed-off-by: Douglas Camata <159076+douglascamata@users.noreply.github.com> --- operators/endpointmetrics/main.go | 4 ++-- operators/multiclusterobservability/main.go | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/operators/endpointmetrics/main.go b/operators/endpointmetrics/main.go index 1f95daed9..167374810 100644 --- a/operators/endpointmetrics/main.go +++ b/operators/endpointmetrics/main.go @@ -112,12 +112,12 @@ func main() { mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{ Scheme: scheme, - Metrics: server.Options{BindAddress: metricsAddr}, + Metrics: server.Options{BindAddress: metricsAddr}, HealthProbeBindAddress: probeAddr, LeaderElection: enableLeaderElection, LeaderElectionID: "7c30ca38.open-cluster-management.io", NewCache: filteredcache.NewEnhancedFilteredCacheBuilder(gvkLabelMap), - WebhookServer: ctrlwebhook.NewServer(ctrlwebhook.Options{Port: 9443}), + WebhookServer: ctrlwebhook.NewServer(ctrlwebhook.Options{Port: 9443}), }) if err != nil { setupLog.Error(err, "unable to start manager") diff --git a/operators/multiclusterobservability/main.go b/operators/multiclusterobservability/main.go index 8ff23be59..c1ac8b7d1 100644 --- a/operators/multiclusterobservability/main.go +++ b/operators/multiclusterobservability/main.go @@ -235,7 +235,7 @@ func main() { mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{ Scheme: scheme, - Metrics: server.Options{BindAddress: fmt.Sprintf("%s:%d", metricsHost, metricsPort)}, + Metrics: server.Options{BindAddress: fmt.Sprintf("%s:%d", metricsHost, metricsPort)}, HealthProbeBindAddress: probeAddr, LeaderElection: enableLeaderElection, LeaderElectionID: "b9d51391.open-cluster-management.io",