code: func (a *Agent) nodeDescriptionWithHostname(ctx context.Context, tlsInfo *api.NodeTLSInfo) (*api.NodeDescription, error) {
  	desc, err := a.config.Executor.Describe(ctx)
  
  	// Override hostname and TLS info
  	if desc != nil {
  		if a.config.Hostname != "" && desc != nil {
  			desc.Hostname = a.config.Hostname
  		}
  		desc.TLSInfo = tlsInfo
  		desc.FIPS = a.config.FIPS
  	}
  	return desc, err
  }
docs: // nodeDescriptionWithHostname retrieves node description, and overrides hostname if available