Skip to content

Commit

Permalink
Reformat files
Browse files Browse the repository at this point in the history
Signed-off-by: Douglas Camata <[email protected]>
  • Loading branch information
douglascamata committed Jun 5, 2024
1 parent d6e5784 commit a5fa029
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions operators/endpointmetrics/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
2 changes: 1 addition & 1 deletion operators/multiclusterobservability/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit a5fa029

Please sign in to comment.