chore: add todo for ServiceSpec that it may return a spec not equal to original

This commit is contained in:
Pavel Sviderski
2025-03-15 20:41:02 +10:00
parent a0551d2d64
commit c9ba4adccb
+2
View File
@@ -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,