// CombineLabels combines the passed in static and dynamic labels.
CombineLabels combines the passed in static and dynamic labels.
// CombineLabels combines the passed in static and dynamic labels .
func CombineLabels(static map[string]string, dynamic map[string]CommandLabelV2) map[string]string {
	lmap := make(map[string]string)
	for key, value := range static {
		lmap[key] = value
	}
	for key, cmd := range dynamic {
		lmap[key] = cmd.Result
	}
	return lmap
}
func CombineLabels ( static map [ string ] string , dynamic map [ string ] CommandLabelV2 ) map [ string ] string { lmap := make ( map [ string ] string ) for key , value := range static { lmap [ key ] = value } for key , cmd := range dynamic { lmap [ key ] = cmd . Result } return lmap }
CombineLabels combines the passed in static and dynamic labels.
CombineLabels combines the passed in static and dynamic labels .