mirror of
https://github.com/psviderski/uncloud.git
synced 2026-10-08 14:14:52 +00:00
feat(compose): add TODO to address deployment idempotency
This commit is contained in:
1 parent
5bcbfc332d
commit
b799b7518e
4 files changed
+8
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user