code: func (l *State) LoadMetadata(data map[string]string) error {
  	l.Lock()
  	defer l.Unlock()
  
  	for k, v := range data {
  		l.metadata[k] = v
  	}
  	l.TriggerSyncChanges()
  	return nil
  }
docs: // LoadMetadata loads node metadata fields from the agent config and
  // updates them on the local agent.