mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 03:53:33 +00:00
feat(compose): add TODO to address deployment idempotency
This commit is contained in:
@@ -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