}
func hostInfoDetectedGroupName(x string) string {
- x = strings.TrimSpace(x)
- x = strings.ToLower(x)
- x = infoGroupDetectedRegexp.ReplaceAllString(x, "_")
+ x = strings.TrimSpace(x)
+ x = strings.ToLower(x)
+ x = infoGroupDetectedRegexp.ReplaceAllString(x, "_")
x = config.GroupDetectedPrefix + "_" + x
return x
}