From a27dbc225045e1d60b566f6c31944517ff05b7de Mon Sep 17 00:00:00 2001 From: Marcin Szwed Date: Mon, 21 Oct 2024 14:03:48 +0200 Subject: [PATCH] always print expired service binding number --- cmd/servicebindingcleanup/main.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/servicebindingcleanup/main.go b/cmd/servicebindingcleanup/main.go index ce9294ba7..10dc946a8 100644 --- a/cmd/servicebindingcleanup/main.go +++ b/cmd/servicebindingcleanup/main.go @@ -78,8 +78,8 @@ func (s *ServiceBindingCleanupService) PerformCleanup() error { return err } + slog.Info(fmt.Sprintf("Expired Service Bindings: %d", len(bindings))) if s.cfg.DryRun { - slog.Info(fmt.Sprintf("Expired Service Bindings: %d", len(bindings))) return nil } else { slog.Info("Requesting Service Bindings removal...")