feat(compose): add TODO to address deployment idempotency

This commit is contained in:
Pavel Sviderski
2025-03-17 20:32:14 +10:00
parent 5bcbfc332d
commit b799b7518e
4 changed files with 8 additions and 0 deletions
+3
View File
@@ -7,6 +7,9 @@ import (
)
func ServiceSpecFromCompose(name string, service types.ServiceConfig) (api.ServiceSpec, error) {
// TODO: resolve the image to a digest and supported platforms using an image resolver that broadcasts requests
// to all machines in the cluster.
// TODO: configure placement filter based on the supported platforms of the image.
spec := api.ServiceSpec{
Container: api.ContainerSpec{
Command: service.Command,