mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-06 13:18:58 +00:00
chore: add todo for ServiceSpec that it may return a spec not equal to original
This commit is contained in:
1 parent
a0551d2d64
commit
c9ba4adccb
1 file changed
+2
@@ -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,
|
||||
|
||||
Reference in new issue
Block a user