From f88a7615e22d897d3fb86dc87113baeb95d12c93 Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Wed, 4 Aug 2021 16:02:29 +0200 Subject: [PATCH] fix panic in clusterctl backup --- cmd/clusterctl/client/cluster/mover.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/clusterctl/client/cluster/mover.go b/cmd/clusterctl/client/cluster/mover.go index cdef89574812..f5e175ded693 100644 --- a/cmd/clusterctl/client/cluster/mover.go +++ b/cmd/clusterctl/client/cluster/mover.go @@ -366,7 +366,7 @@ func (o *objectMover) backup(graph *objectGraph, directory string) error { moveSequence := getMoveSequence(graph) // Save all objects group by group - log.Info("Saving files to %s", directory) + log.Info(fmt.Sprintf("Saving files to %s", directory)) for groupIndex := 0; groupIndex < len(moveSequence.groups); groupIndex++ { if err := o.backupGroup(moveSequence.getGroup(groupIndex), directory); err != nil { return err