Skip to content

Commit

Permalink
always print expired service binding number
Browse files Browse the repository at this point in the history
  • Loading branch information
szwedm committed Oct 21, 2024
1 parent 01e3255 commit a27dbc2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/servicebindingcleanup/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -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...")
Expand Down

0 comments on commit a27dbc2

Please sign in to comment.