Reflect changes in naming

This commit is contained in:
Frederik Ring 2024-01-28 19:31:09 +01:00
parent 4639b21f3b
commit 57e7f2af9e

View File

@ -47,12 +47,12 @@ func main() {
}() }()
s.must(s.withLabeledCommands(lifecyclePhaseArchive, func() error { 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 // The mechanism for restarting containers is not using hooks as it
// should happen as soon as possible (i.e. before uploading backups or // should happen as soon as possible (i.e. before uploading backups or
// similar). // similar).
defer func() { defer func() {
s.must(restartContainers()) s.must(restartContainersAndServices())
}() }()
if err != nil { if err != nil {
return err return err