diff --git a/pkg/moni/ssl.go b/pkg/moni/ssl.go index 03be011f..46aa4f59 100644 --- a/pkg/moni/ssl.go +++ b/pkg/moni/ssl.go @@ -4,7 +4,6 @@ import ( "context" "fmt" "os" - "os/exec" "path/filepath" "strconv" "strings" diff --git a/pkg/moni/worker.go b/pkg/moni/worker.go index a4e80ccf..4fe6a56f 100644 --- a/pkg/moni/worker.go +++ b/pkg/moni/worker.go @@ -497,8 +497,8 @@ func restartContainers(rc *eos_io.RuntimeContext, workDir string) error { _, err := execute.Run(ctx, execute.Options{ Command: "docker", Args: []string{"compose", "down"}, - WorkDir: workDir, // P1 FIX: Explicit working directory (thread-safe) - Capture: false, // Show output to user + Dir: workDir, // P1 FIX: Explicit working directory (thread-safe) + Capture: false, // Show output to user }) if err != nil { @@ -513,8 +513,8 @@ func restartContainers(rc *eos_io.RuntimeContext, workDir string) error { _, err = execute.Run(ctx, execute.Options{ Command: "docker", Args: []string{"compose", "up", "-d"}, - WorkDir: workDir, // P1 FIX: Explicit working directory (thread-safe) - Capture: false, // Show output to user + Dir: workDir, // P1 FIX: Explicit working directory (thread-safe) + Capture: false, // Show output to user }) if err != nil {