Skip to content

Commit 0173a0c

Browse files
authored
Merge pull request #2868 from harche/bug_1950993
2 parents 5d029c2 + 655773d commit 0173a0c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

manager/manager.go

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -693,6 +693,10 @@ func (m *manager) GetRequestedContainersInfo(containerName string, options v2.Re
693693
for name, data := range containers {
694694
info, err := m.containerDataToContainerInfo(data, &query)
695695
if err != nil {
696+
if err == memory.ErrDataNotFound {
697+
klog.Warningf("Error getting data for container %s because of race condition", name)
698+
continue
699+
}
696700
errs.append(name, "containerDataToContainerInfo", err)
697701
}
698702
containersMap[name] = info

0 commit comments

Comments
 (0)