diff --git a/server/server.go b/server/server.go index 9433d038..28a8b54d 100644 --- a/server/server.go +++ b/server/server.go @@ -59,6 +59,7 @@ func (s *Server) loadContainer(id string) error { sb := s.getSandbox(m.Annotations["ocid/sandbox_id"]) if sb == nil { logrus.Warnf("could not get sandbox with id %s, skipping", m.Annotations["ocid/sandbox_id"]) + return nil } var tty bool