mirror of
https://github.com/psviderski/uncloud.git
synced 2026-08-28 12:03:33 +00:00
remove wrong TODO
This commit is contained in:
@@ -184,7 +184,6 @@ func (m *Manager) syncContainersToStore(ctx context.Context) error {
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Create or update the current Docker containers in the store.
|
// Create or update the current Docker containers in the store.
|
||||||
// TODO: update only the changed containers to reduce unnecessary gossip traffic and not trigger other controllers.
|
|
||||||
for _, dc := range containers {
|
for _, dc := range containers {
|
||||||
c := &api.Container{Container: dc}
|
c := &api.Container{Container: dc}
|
||||||
if err = m.store.CreateOrUpdateContainer(ctx, c, m.machineID); err != nil {
|
if err = m.store.CreateOrUpdateContainer(ctx, c, m.machineID); err != nil {
|
||||||
|
|||||||
Reference in New Issue
Block a user