Skip to content

Commit

Permalink
update BindAddress
Browse files Browse the repository at this point in the history
  • Loading branch information
takara9 committed Oct 24, 2023
1 parent 722a8df commit 82cee6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion controllers/autovirtualdc_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ var _ = Describe("AutoVirtualDC controller", func() {
mgr, err := ctrl.NewManager(cfg, ctrl.Options{
Scheme: scheme,
LeaderElection: false,
Metrics: metricsserver.Options{BindAddress: "0.0.0.0:0"},
Metrics: metricsserver.Options{BindAddress: "127.0.0.1:8080"},
})
Expect(err).NotTo(HaveOccurred())

Expand Down
2 changes: 1 addition & 1 deletion controllers/virtualdc_controller_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ var _ = Describe("VirtualDC controller", func() {
mgr, err := ctrl.NewManager(cfg, ctrl.Options{
Scheme: scheme,
LeaderElection: false,
Metrics: metricsserver.Options{BindAddress: "0.0.0.0:0"},
Metrics: metricsserver.Options{BindAddress: "127.0.0.1:8080"},
})
Expect(err).NotTo(HaveOccurred())

Expand Down

0 comments on commit 82cee6b

Please sign in to comment.