From: Simon Ruderich Date: Sun, 9 May 2021 09:38:27 +0000 (+0200) Subject: safcm: go fmt X-Git-Url: https://ruderich.org/simon/gitweb/?p=safcm%2Fsafcm.git;a=commitdiff_plain;h=d68ff757d6b816877e8da5e8fc78cd4637725b9a safcm: go fmt --- 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 }