Remove unnecessary unlock
Signed-off-by: Mrunal Patel <mrunalp@gmail.com>
This commit is contained in:
parent
7fc874e05e
commit
5557fd10a2
1 changed files with 0 additions and 1 deletions
|
@ -243,7 +243,6 @@ func (s *Server) RemovePodSandbox(ctx context.Context, req *pb.RemovePodSandboxR
|
|||
return nil, fmt.Errorf("failed to delete container %s in sandbox %s: %v", c.Name(), *sbName, err)
|
||||
}
|
||||
if podInfraContainer == c.Name() {
|
||||
sb.containersLock.Unlock()
|
||||
continue
|
||||
}
|
||||
containerDir := filepath.Join(s.runtime.ContainerDir(), c.Name())
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue