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