Merge pull request #10089 from samuelkarp/bump-nri-v0.6.1

mod: bump github.com/containerd/nri@v0.6.1
This commit is contained in:
Kazuyoshi Kato
2024-04-18 23:07:13 +00:00
committed by GitHub
4 changed files with 6 additions and 8 deletions

View File

@@ -431,18 +431,16 @@ func (r *Adaptation) acceptPluginConnections(l net.Listener) error {
continue
}
r.Lock()
err = r.syncFn(ctx, p.synchronize)
if err != nil {
log.Infof(ctx, "failed to synchronize plugin: %v", err)
} else {
r.Lock()
r.plugins = append(r.plugins, p)
r.sortPlugins()
r.Unlock()
}
r.Unlock()
log.Infof(ctx, "plugin %q connected", p.name())
}
}()