Fix linter and test errors

This commit is contained in:
Daniel
2023-01-30 14:07:15 +01:00
parent c6de741ed8
commit 79ac3ffe72
2 changed files with 3 additions and 1 deletions

View File

@@ -67,7 +67,8 @@ func start() error {
return nil
},
); err != nil {
return err
// This module does not depend on the SPN/Captain module, and probably should not.
log.Warningf("resolvers: failed to register event hook for captain/spn-connect: %s", err)
}
// reload after config change

View File

@@ -12,6 +12,7 @@ import (
"time"
"github.com/miekg/dns"
"github.com/safing/portbase/log"
)