diff --git a/internal/resource/obtenant/utils.go b/internal/resource/obtenant/utils.go index 90d01d22..acfe1491 100644 --- a/internal/resource/obtenant/utils.go +++ b/internal/resource/obtenant/utils.go @@ -954,6 +954,7 @@ func (m *OBTenantManager) createOBParameter(parameter *apitypes.Parameter) error labels := make(map[string]string) labels[oceanbaseconst.LabelRefUID] = string(m.OBTenant.GetUID()) labels[oceanbaseconst.LabelRefOBTenant] = m.OBTenant.Name + labels[oceanbaseconst.LabelRefOBCluster] = m.OBTenant.Spec.ClusterName parameterName := m.generateParameterName(parameter.Name) obparameter := &v1alpha1.OBParameter{ ObjectMeta: metav1.ObjectMeta{ diff --git a/make/build.mk b/make/build.mk index d0bc12f0..043effae 100644 --- a/make/build.mk +++ b/make/build.mk @@ -8,7 +8,7 @@ build: dashboard-doc-gen dashboard-bindata-gen cli-bindata-gen manifests generat # (i.e. docker build --platform linux/arm64 ). However, you must enable docker buildKit for it. # More info: https://docs.docker.com/develop/develop-images/build_enhancements/ .PHONY: docker-build -docker-build: generate ## Build docker image with the manager. +docker-build: generate fmt ## Build docker image with the manager. docker build -t ${IMG} --build-arg GOPROXY=${GOPROXY} --build-arg GOSUMDB=${GOSUMDB} --build-arg RACE=${RACE} -f build/Dockerfile.operator . .PHONY: docker-push