mirror of
https://github.com/Luzifer/webcheck.git
synced 2025-01-06 18:46:08 +00:00
Fix: Do not panic when no-log is enabled
This commit is contained in:
parent
3cec575f37
commit
213eefeef5
1 changed files with 1 additions and 1 deletions
2
main.go
2
main.go
|
@ -74,7 +74,7 @@ func main() {
|
||||||
|
|
||||||
for range time.Tick(cfg.Interval) {
|
for range time.Tick(cfg.Interval) {
|
||||||
var (
|
var (
|
||||||
body *bytes.Buffer
|
body io.ReadWriter
|
||||||
result *checkResult
|
result *checkResult
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue