diff --git a/collect/resh-collect.go b/collect/resh-collect.go index 425097e..a905d0c 100644 --- a/collect/resh-collect.go +++ b/collect/resh-collect.go @@ -157,7 +157,7 @@ func getMachineId() string { if err != nil { log.Fatal("failed to open /etc/machine-id") } - return string(dat) + return strings.TrimSuffix(string(dat), "\n") } func getGitDir() string {