diff --git a/install/main.go b/install/main.go index 8decf147..157a3abe 100644 --- a/install/main.go +++ b/install/main.go @@ -544,11 +544,11 @@ func stopContainers() error { func restartContainer(container string) error { fmt.Println("Restarting containers...") - if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "restart", container); err != nil { - return fmt.Errorf("failed to stop the container \"%s\": %v", container, err) - } + if err := executeDockerComposeCommandWithArgs("-f", "docker-compose.yml", "restart", container); err != nil { + return fmt.Errorf("failed to stop the container \"%s\": %v", container, err) + } - return nil + return nil } func copyFile(src, dst string) error {