code: func (a *Agent) NodeName() (string, error) {
  	if a.nodeName != "" {
  		return a.nodeName, nil
  	}
  	info, err := a.Self()
  	if err != nil {
  		return "", err
  	}
  	name := info["Config"]["NodeName"].(string)
  	a.nodeName = name
  	return name, nil
  }
docs: // NodeName is used to get the node name of the agent