diff --git a/pkg/adaptation/adaptation.go b/pkg/adaptation/adaptation.go index bf0ca88a..fd3707c5 100644 --- a/pkg/adaptation/adaptation.go +++ b/pkg/adaptation/adaptation.go @@ -479,9 +479,6 @@ func (r *Adaptation) RemoveContainer(ctx context.Context, req *RemoveContainerRe // Perform a set of unsolicited container updates requested by a plugin. func (r *Adaptation) updateContainers(ctx context.Context, req []*ContainerUpdate) ([]*ContainerUpdate, error) { - r.Lock() - defer r.Unlock() - return r.updateFn(ctx, req) }