From 57e7f2af9eca3319a3f6f5f1a625972a812923d1 Mon Sep 17 00:00:00 2001 From: Frederik Ring Date: Sun, 28 Jan 2024 19:31:09 +0100 Subject: [PATCH] Reflect changes in naming --- cmd/backup/main.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/cmd/backup/main.go b/cmd/backup/main.go index 64c6f21..b61c157 100644 --- a/cmd/backup/main.go +++ b/cmd/backup/main.go @@ -47,12 +47,12 @@ func main() { }() s.must(s.withLabeledCommands(lifecyclePhaseArchive, func() error { - restartContainers, err := s.stopContainersAndServices() + restartContainersAndServices, err := s.stopContainersAndServices() // The mechanism for restarting containers is not using hooks as it // should happen as soon as possible (i.e. before uploading backups or // similar). defer func() { - s.must(restartContainers()) + s.must(restartContainersAndServices()) }() if err != nil { return err