From d68ff757d6b816877e8da5e8fc78cd4637725b9a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Sun, 9 May 2021 11:38:27 +0200 Subject: [PATCH] safcm: go fmt --- cmd/safcm/sync_info.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/cmd/safcm/sync_info.go b/cmd/safcm/sync_info.go index 5ba6ac8..fd48006 100644 --- a/cmd/safcm/sync_info.go +++ b/cmd/safcm/sync_info.go @@ -60,9 +60,9 @@ func hostInfoRespToGroups(resp safcm.MsgInfoResp) []string { } 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 } -- 2.45.2