@@ -30,8 +30,7 @@ import (
3030 cfgcm "github.com/apecloud/kubeblocks/pkg/configuration/config_manager"
3131 "github.com/apecloud/kubeblocks/pkg/configuration/core"
3232 configctrl "github.com/apecloud/kubeblocks/pkg/controller/configuration"
33- "github.com/apecloud/kubeblocks/pkg/controllerutil"
34- intctrlutil "github.com/apecloud/kubeblocks/pkg/controllerutil"
33+ controllerutil "github.com/apecloud/kubeblocks/pkg/controllerutil"
3534 "github.com/apecloud/kubeblocks/pkg/generics"
3635 "github.com/spf13/cobra"
3736 "k8s.io/cli-runtime/pkg/genericiooptions"
@@ -63,7 +62,7 @@ type configOpsOptions struct {
6362
6463var (
6564 createReconfigureExample = templates .Examples (`
66- # update component params
65+ # update component params
6766 kbcli cluster configure mycluster --components=mysql --config-spec=mysql-3node-tpl --config-file=my.cnf --set=max_connections=1000,general_log=OFF
6867
6968 # if only one component, and one config spec, and one config file, simplify the searching process of configure. e.g:
@@ -175,7 +174,7 @@ func (o *configOpsOptions) validateConfigParams(rctx *ReconfigureContext, classi
175174 transform := func (params map [string ]* parametersv1alpha1.ParametersInFile ) []core.ParamPairs {
176175 var result []core.ParamPairs
177176 for file , ps := range params {
178- configDescs := intctrlutil .GetComponentConfigDescriptions (& rctx .ConfigRender .Spec , file )
177+ configDescs := controllerutil .GetComponentConfigDescriptions (& rctx .ConfigRender .Spec , file )
179178 builder := configctrl .NewValueManager (rctx .ParametersDefs , configDescs )
180179 updatedParams , _ := core .FromStringMap (ps .Parameters , builder .BuildValueTransformer (file ))
181180 result = append (result , core.ParamPairs {
0 commit comments