This commit is contained in:
Mzack9999
2024-06-11 13:38:28 +02:00
parent 26c84e3747
commit 9f1414e3e8
6 changed files with 15 additions and 16 deletions

View File

@@ -1,7 +1,6 @@
package hosterrorscache
import (
"log"
"net"
"net/url"
"regexp"
@@ -129,7 +128,6 @@ func (c *Cache) Check(ctx *contextargs.Context) bool {
// MarkFailed marks a host as failed previously
func (c *Cache) MarkFailed(ctx *contextargs.Context, err error) {
log.Printf("%#+v", err)
if !c.checkError(err) {
return
}