]> ruderich.org/simon Gitweb - safcm/safcm.git/commitdiff
safcm: go fmt
authorSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 09:38:27 +0000 (11:38 +0200)
committerSimon Ruderich <simon@ruderich.org>
Sun, 9 May 2021 10:22:09 +0000 (12:22 +0200)
cmd/safcm/sync_info.go

index 5ba6ac83c903df14afc3c0a99396ec70dd453bb4..fd480063629a67e5f1c1c8d103ee1b19107fae88 100644 (file)
@@ -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
 }