diff --git a/server/server.go b/server/server.go index 96b7dbed..0e7e9f09 100644 --- a/server/server.go +++ b/server/server.go @@ -102,6 +102,10 @@ func (s *Server) reservePodName(id, name string) (string, error) { return name, nil } +func (s *Server) releasePodName(name string) { + s.podNameIndex.Release(name) +} + // New creates a new Server with options provided func New(runtimePath, root, sandboxDir, containerDir string) (*Server, error) { // TODO: This will go away later when we have wrapper process or systemd acting as