Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4628e9c

Browse files
authoredMay 23, 2025··
Merge pull request #992 from /issues/990
Fix logging key error
2 parents da9ed93 + adc02dd commit 4628e9c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed
 

‎Makefile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -210,7 +210,7 @@ K8S_OPERATOR_NAMESPACE ?= rabbitmq-system
210210
.PHONY: docker-registry-secret
211211
docker-registry-secret:
212212
$(call check_defined, DOCKER_REGISTRY_USERNAME, Username for accessing the docker registry)
213-
$(call check_defined, DOCKER_REGISTRY_PASSWORD. Password for accessing the docker registry)
213+
$(call check_defined, DOCKER_REGISTRY_PASSWORD, Password for accessing the docker registry)
214214
$(call check_defined, DOCKER_REGISTRY_SECRET, Name of Kubernetes secret in which to store the Docker registry username and password)
215215
$(call check_defined, DOCKER_REGISTRY_SERVER, URL of docker registry containing the Operator image (e.g. registry.my-company.com))
216216
@echo "Creating registry secret and patching default service account"
@@ -235,7 +235,7 @@ destroy: ## Delete all resources of this Operator
235235
.PHONY: deploy-dev
236236
deploy-dev: cmctl docker-build-dev manifests deploy-rbac docker-registry-secret ## Build current code as a Docker image, push the image, and deploy to current Kubernetes context
237237
$(call check_defined, DOCKER_REGISTRY_USERNAME, Username for accessing the docker registry)
238-
$(call check_defined, DOCKER_REGISTRY_PASSWORD. Password for accessing the docker registry)
238+
$(call check_defined, DOCKER_REGISTRY_PASSWORD, Password for accessing the docker registry)
239239
$(call check_defined, DOCKER_REGISTRY_SECRET, Name of Kubernetes secret in which to store the Docker registry username and password)
240240
$(call check_defined, DOCKER_REGISTRY_SERVER, URL of docker registry containing the Operator image (e.g. registry.my-company.com))
241241
$(CMCTL) check api --wait=2m

‎controllers/vhost_controller.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,14 +25,14 @@ func (r *VhostReconciler) DeclareFunc(ctx context.Context, client rabbitmqclient
2525
logger := ctrl.LoggerFrom(ctx)
2626
vhost := obj.(*topology.Vhost)
2727
settings := internal.GenerateVhostSettings(vhost)
28-
logger.Info("generated vhost settings", "vhost", vhost.Spec.Name, "settings", settings)
28+
logger.V(1).Info("generated vhost settings", "vhost", vhost.Spec.Name, "settings", settings)
2929
err := validateResponse(client.PutVhost(vhost.Spec.Name, *settings))
3030
if err != nil {
3131
return err
3232
}
3333

3434
newVhostLimits := internal.GenerateVhostLimits(vhost.Spec.VhostLimits)
35-
logger.Info("getting existing vhost limits", vhost, vhost.Spec.Name)
35+
logger.V(1).Info("getting existing vhost limits", "vhost", vhost.Spec.Name)
3636
existingVhostLimits, err := r.getVhostLimits(client, vhost.Spec.Name)
3737
if err != nil {
3838
return err

0 commit comments

Comments
 (0)
Please sign in to comment.