code: func GetIP(daemonHost string) string {
  	u, err := url.Parse(daemonHost)
  	if err != nil {
  		log.Errorf("[GetIP] GetIP %s failed %v", daemonHost, err)
  		return ""
  	}
  	return u.Hostname()
  }
docs: // GetIP Get hostIP