func (s *Server) LabelsString() string {
	labels := []string{}
	for key, val := range s.Labels {
		labels = append(labels, fmt.Sprintf("%s=%s", key, val))
	}
	for key, val := range s.CmdLabels {
		labels = append(labels, fmt.Sprintf("%s=%s", key, val.Result))
	}
	sort.Strings(labels)
	return strings.Join(labels, ",")
}
// LabelsString returns a comma separated string with all node's labels
LabelsString returns a comma separated string with all node's labels
// LabelsString returns a comma separated string with all node ' s labels
func (s *Server) LabelsString() string {
	labels := []string{}
	for key, val := range s.Labels {
		labels = append(labels, fmt.Sprintf("%s=%s", key, val))
	}
	for key, val := range s.CmdLabels {
		labels = append(labels, fmt.Sprintf("%s=%s", key, val.Result))
	}
	sort.Strings(labels)
	return strings.Join(labels, ",")
}
func ( s * Server ) LabelsString ( ) string { labels := [ ] string { } for key , val := range s . Labels { labels = append ( labels , fmt . Sprintf ( " " , key , val ) ) } for key , val := range s . CmdLabels { labels = append ( labels , fmt . Sprintf ( " " , key , val . Result ) ) } sort . Strings ( labels ) return strings . Join ( labels , " " ) }
LabelsString returns a comma separated string with all node's labels
LabelsString returns a comma separated string with all node ' s labels