feat(compose): add TODO to address deployment idempotency

This commit is contained in:
Pavel Sviderski committed 2025-03-17 20:32:14 +10:00
1 parent 5bcbfc332d
commit b799b7518e
4 files changed
+8

No files matched your search

+2
View File
@@ -97,6 +97,8 @@ func (s *RollingStrategy) planReplicated(
// Skip containers that are not running.
continue
}
// TODO: determine if the spec has changed by comparing the hashes.
// Refactor all the spec comparison logic below.
cs, err := c.Container.ServiceSpec()
if err == nil {
runningSpecs[c.Container.ID] = cs