code: func (s *Server) getSandboxIP(sb *sandbox.Sandbox) (string, error) {
  	if sb.HostNetwork() {
  		return s.hostIP, nil
  	}
  
  	podNetwork := newPodNetwork(sb)
  	result, err := s.netPlugin.GetPodNetworkStatus(podNetwork)
  	if err != nil {
  		return "", fmt.Errorf("failed to get network status for pod sandbox %s(%s): %v", sb.Name(), sb.ID(), err)
  	}
  
  	res, err := cnicurrent.GetResult(result[0])
  	if err != nil {
  		return "", fmt.Errorf("failed to get network JSON for pod sandbox %s(%s): %v", sb.Name(), sb.ID(), err)
  	}
  
  	return strings.Split(res.IPs[0].Address.String(), "/")[0], nil
  }
docs: // getSandboxIP retrieves the IP address for the sandbox