From 53bc17c6d27df30cdc2bfdb939bac16c3b310c51 Mon Sep 17 00:00:00 2001 From: colindickson Date: Fri, 1 Dec 2023 15:05:35 -0500 Subject: [PATCH] sink-server: fix running state of docker deployment --- sink-server/docker/docker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sink-server/docker/docker.go b/sink-server/docker/docker.go index 859f307c8..4ee6290e9 100644 --- a/sink-server/docker/docker.go +++ b/sink-server/docker/docker.go @@ -253,7 +253,7 @@ func (e *DockerEngine) Info(ctx context.Context, deploymentID string, zlog *zap. } var outputs []*dockerComposePSOutput - if err != nil { + if err := json.Unmarshal(line, &outputs); err != nil { return nil, fmt.Errorf("unmarshalling docker output: %w", err) }