mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-26 19:13:34 +00:00
chore: add todo for ServiceSpec that it may return a spec not equal to original
This commit is contained in:
@@ -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