gardener / machine-controller-manager

Declarative way of managing machines for Kubernetes cluster
Apache License 2.0
256 stars 117 forks source link

Nit: Fix the format verb #831

Closed ialidzhikov closed 1 year ago

ialidzhikov commented 1 year ago

What this PR does / why we need it:

{"log":"(SetReplicasAnnotations) ms.Name: shoot--foo--bar-default-z3-797b7 desired: 0 , max: 0 , updated: %!d(bool=true)","pid":"1","severity":"INFO","source":"deployment_util.go:615"}

The updated var is boolean, hence %t should be used instead of %d. Ref https://pkg.go.dev/fmt

Which issue(s) this PR fixes: N/A

Special notes for your reviewer: N/A

Release note:

NONE