You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
log.G(ctx).WithError(err).Errorf("failed to get metadata for stored sandbox %q", sbx.ID)
112
+
// Since commit https://github.com/containerd/containerd/pull/11612 has been merged metadata may not be nil.
113
+
// Before 1162 we should delete leaked sandbox from sandbox store to make sure containerd can start successfully.
114
+
err=c.client.SandboxStore().Delete(ctx, sbx.ID)
115
+
iferr!=nil {
116
+
log.G(ctx).WithError(err).Errorf("failed to delete sandbox %q, in response to failure to retrieve metadata for sandbox", sbx.ID)
117
+
}
118
+
continue
119
+
}
109
120
returnfmt.Errorf("failed to get metadata for stored sandbox %q: %w", sbx.ID, err)
0 commit comments