From c9ba4adccb587c178c9d4783bfb1dfbf5eebf0e8 Mon Sep 17 00:00:00 2001 From: Pavel Sviderski Date: Sat, 15 Mar 2025 20:41:02 +1000 Subject: [PATCH] chore: add todo for ServiceSpec that it may return a spec not equal to original --- internal/api/container.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/internal/api/container.go b/internal/api/container.go index 186811b8..2b595ae5 100644 --- a/internal/api/container.go +++ b/internal/api/container.go @@ -71,6 +71,8 @@ func (c *Container) ServiceSpec() (ServiceSpec, error) { return ServiceSpec{}, fmt.Errorf("get service ports: %w", err) } + // TODO: many properties on the container such as Config.Cmd or Config.Entrypoint are populated when the container + // is created. return ServiceSpec{ Container: ContainerSpec{ Command: c.Config.Cmd,