Skip to content

Commit 4890ab3

Browse files
committed
Remove local logging
1 parent bf2b582 commit 4890ab3

File tree

2 files changed

+0
-7
lines changed

2 files changed

+0
-7
lines changed

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,6 @@ make build
4848
make run
4949
make test
5050
```
51-
The current run prints a JSON report with stub data.
5251

5352
### Docker Image
5453
An official container image is published to GitHub Container Registry (GHCR) on every push to the `main` branch.

cmd/stackscout/main.go

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
package main
22

33
import (
4-
"encoding/json"
54
"fmt"
65
"log"
76
"time"
@@ -59,9 +58,4 @@ func main() {
5958
if err := infClient.WriteReport(out); err != nil {
6059
log.Fatalf("failed writing report to influx: %v", err)
6160
}
62-
enc := json.NewEncoder(log.Writer())
63-
enc.SetIndent("", " ")
64-
if err := enc.Encode(out); err != nil {
65-
fmt.Println("failed to encode report:", err)
66-
}
6761
}

0 commit comments

Comments
 (0)