From 0734468c1d2ac7afd4f03e037dcdba218ea28df7 Mon Sep 17 00:00:00 2001 From: xliuqq Date: Sun, 28 Jul 2024 17:27:18 +0800 Subject: [PATCH] fix comment Signed-off-by: xliuqq --- cmd/alluxio/app/alluxio.go | 2 +- cmd/csi/app/csi.go | 2 +- cmd/dataset/app/dataset.go | 2 +- cmd/efc/app/efc.go | 2 +- cmd/fluidapp/app/fluidapp.go | 2 +- cmd/goosefs/app/goosefs.go | 2 +- cmd/jindo/app/jindo.go | 2 +- cmd/juicefs/app/juicefs.go | 2 +- cmd/thin/app/thin.go | 2 +- cmd/vineyard/app/vineyard.go | 2 +- 10 files changed, 10 insertions(+), 10 deletions(-) diff --git a/cmd/alluxio/app/alluxio.go b/cmd/alluxio/app/alluxio.go index 868385dcf54..05a8c78975f 100644 --- a/cmd/alluxio/app/alluxio.go +++ b/cmd/alluxio/app/alluxio.go @@ -115,7 +115,7 @@ func handle() { utils.NewPprofServer(setupLog, pprofAddr, development) - // the default webserver port is 9443, no need to set. + // the default webhook server port is 9443, no need to set mgr, err := ctrl.NewManager(controllers.GetConfigOrDieWithQPSAndBurst(kubeClientQPS, kubeClientBurst), ctrl.Options{ Scheme: scheme, Metrics: metricsserver.Options{ diff --git a/cmd/csi/app/csi.go b/cmd/csi/app/csi.go index a320ab79cfa..7a84a35036e 100644 --- a/cmd/csi/app/csi.go +++ b/cmd/csi/app/csi.go @@ -102,7 +102,7 @@ func handle() { newPprofServer(pprofAddr) } - // the default webserver port is 9443, no need to set. + // the default webhook server port is 9443, no need to set mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{ Scheme: scheme, Metrics: metricsserver.Options{ diff --git a/cmd/dataset/app/dataset.go b/cmd/dataset/app/dataset.go index 69d322a5693..77bb8996617 100644 --- a/cmd/dataset/app/dataset.go +++ b/cmd/dataset/app/dataset.go @@ -123,7 +123,7 @@ func handle() { utils.NewPprofServer(setupLog, pprofAddr, development) - // the default webserver port is 9443, no need to set. + // the default webhook server port is 9443, no need to set mgr, err := ctrl.NewManager(controllers.GetConfigOrDieWithQPSAndBurst(kubeClientQPS, kubeClientBurst), ctrl.Options{ Scheme: scheme, Metrics: metricsserver.Options{ diff --git a/cmd/efc/app/efc.go b/cmd/efc/app/efc.go index 402f8943619..1d405735d88 100644 --- a/cmd/efc/app/efc.go +++ b/cmd/efc/app/efc.go @@ -114,7 +114,7 @@ func handle() { utils.NewPprofServer(setupLog, pprofAddr, development) - // the default webserver port is 9443, no need to set. + // the default webhook server port is 9443, no need to set mgr, err := ctrl.NewManager(controllers.GetConfigOrDieWithQPSAndBurst(kubeClientQPS, kubeClientBurst), ctrl.Options{ Scheme: scheme, Metrics: metricsserver.Options{ diff --git a/cmd/fluidapp/app/fluidapp.go b/cmd/fluidapp/app/fluidapp.go index beee2b69607..c0d533facd6 100644 --- a/cmd/fluidapp/app/fluidapp.go +++ b/cmd/fluidapp/app/fluidapp.go @@ -95,7 +95,7 @@ func handle() { utils.NewPprofServer(setupLog, pprofAddr, development) - // the default webserver port is 9443, no need to set. + // the default webhook server port is 9443, no need to set mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{ Scheme: scheme, Metrics: metricsserver.Options{ diff --git a/cmd/goosefs/app/goosefs.go b/cmd/goosefs/app/goosefs.go index 51421c396a6..7805017e27f 100644 --- a/cmd/goosefs/app/goosefs.go +++ b/cmd/goosefs/app/goosefs.go @@ -99,7 +99,7 @@ func handle() { utils.NewPprofServer(setupLog, pprofAddr, development) - // the default webserver port is 9443, no need to set. + // the default webhook server port is 9443, no need to set mgr, err := ctrl.NewManager(ctrl.GetConfigOrDie(), ctrl.Options{ Scheme: scheme, Metrics: metricsserver.Options{ diff --git a/cmd/jindo/app/jindo.go b/cmd/jindo/app/jindo.go index f1ee8324a66..3987a4eabe7 100644 --- a/cmd/jindo/app/jindo.go +++ b/cmd/jindo/app/jindo.go @@ -122,7 +122,7 @@ func handle() { utils.NewPprofServer(setupLog, pprofAddr, development) - // the default webserver port is 9443, no need to set. + // the default webhook server port is 9443, no need to set mgr, err := ctrl.NewManager(controllers.GetConfigOrDieWithQPSAndBurst(kubeClientQPS, kubeClientBurst), ctrl.Options{ Scheme: scheme, Metrics: metricsserver.Options{ diff --git a/cmd/juicefs/app/juicefs.go b/cmd/juicefs/app/juicefs.go index 096e489c2b3..0f32eb8bada 100644 --- a/cmd/juicefs/app/juicefs.go +++ b/cmd/juicefs/app/juicefs.go @@ -126,7 +126,7 @@ func handle() { return controllers.NewFluidControllerClient(config, options) } - // the default webserver port is 9443, no need to set. + // the default webhook server port is 9443, no need to set mgr, err := ctrl.NewManager(controllers.GetConfigOrDieWithQPSAndBurst(kubeClientQPS, kubeClientBurst), ctrl.Options{ Scheme: scheme, Metrics: metricsserver.Options{ diff --git a/cmd/thin/app/thin.go b/cmd/thin/app/thin.go index 7db16c55054..08b75f82d8b 100644 --- a/cmd/thin/app/thin.go +++ b/cmd/thin/app/thin.go @@ -118,7 +118,7 @@ func handle() { utils.NewPprofServer(setupLog, pprofAddr, development) - // the default webserver port is 9443, no need to set. + // the default webhook server port is 9443, no need to set mgr, err := ctrl.NewManager(controllers.GetConfigOrDieWithQPSAndBurst(kubeClientQPS, kubeClientBurst), ctrl.Options{ Scheme: scheme, Metrics: metricsserver.Options{ diff --git a/cmd/vineyard/app/vineyard.go b/cmd/vineyard/app/vineyard.go index f6fad4a69b2..7940a83904a 100644 --- a/cmd/vineyard/app/vineyard.go +++ b/cmd/vineyard/app/vineyard.go @@ -112,7 +112,7 @@ func handle() { utils.NewPprofServer(setupLog, pprofAddr, development) - // the default webserver port is 9443, no need to set. + // the default webhook server port is 9443, no need to set mgr, err := ctrl.NewManager(controllers.GetConfigOrDieWithQPSAndBurst(kubeClientQPS, kubeClientBurst), ctrl.Options{ Scheme: scheme, Metrics: metricsserver.Options{