From 87915f29f6e7095baa3e1ceb0857b2cc17d17c8f Mon Sep 17 00:00:00 2001 From: Taylan Date: Wed, 23 Apr 2025 18:37:36 +0200 Subject: [PATCH] correct formated the file --- install/main.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 {