We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bf2b582 commit 4890ab3Copy full SHA for 4890ab3
README.md
@@ -48,7 +48,6 @@ make build
48
make run
49
make test
50
```
51
-The current run prints a JSON report with stub data.
52
53
### Docker Image
54
An official container image is published to GitHub Container Registry (GHCR) on every push to the `main` branch.
cmd/stackscout/main.go
@@ -1,7 +1,6 @@
1
package main
2
3
import (
4
- "encoding/json"
5
"fmt"
6
"log"
7
"time"
@@ -59,9 +58,4 @@ func main() {
59
58
if err := infClient.WriteReport(out); err != nil {
60
log.Fatalf("failed writing report to influx: %v", err)
61
}
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
- }
67
0 commit comments