From 0bd78980b66193106560809ff7f140f7797948f0 Mon Sep 17 00:00:00 2001 From: Helena Date: Wed, 6 Mar 2024 22:37:48 +0100 Subject: [PATCH 1/2] Missing systemd dep --- .github/workflows/go.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/go.yml b/.github/workflows/go.yml index 925866c..3c3aa8a 100644 --- a/.github/workflows/go.yml +++ b/.github/workflows/go.yml @@ -21,6 +21,9 @@ jobs: with: go-version: '1.20' + - name: Install systemd headers + run: sudo apt install -y libsystemd-dev + - name: Build run: go build -v ./... From 06d37f0d75fabf5801538718581cb289cf6f69d6 Mon Sep 17 00:00:00 2001 From: Helena Date: Wed, 6 Mar 2024 22:38:51 +0100 Subject: [PATCH 2/2] Remove debugging --- read.go | 1 - 1 file changed, 1 deletion(-) diff --git a/read.go b/read.go index 1248a71..a88e225 100644 --- a/read.go +++ b/read.go @@ -137,7 +137,6 @@ func (e LogEntry) GetMeta(attr string) map[string]float64 { if k == "" { continue } - fmt.Printf("k=%s v=%s.\n", k, v) results[k] = float64(v) / float64(total) }