code: func unregisterPod(root string, uuid *types.UUID) error {
  	_, err := os.Stat(filepath.Join(root, mdsRegisteredFile))
  	switch {
  	case err == nil:
  		pth := path.Join("/pods", uuid.String())
  		return httpRequest("DELETE", pth, nil)
  
  	case os.IsNotExist(err):
  		return nil
  
  	default:
  		return err
  	}
  }
docs: // unregisterPod unregisters pod with the metadata service.