Fix linter and test errors
This commit is contained in:
@@ -67,7 +67,8 @@ func start() error {
|
|||||||
return nil
|
return nil
|
||||||
},
|
},
|
||||||
); err != 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
|
// reload after config change
|
||||||
|
|||||||
@@ -12,6 +12,7 @@ import (
|
|||||||
"time"
|
"time"
|
||||||
|
|
||||||
"github.com/miekg/dns"
|
"github.com/miekg/dns"
|
||||||
|
|
||||||
"github.com/safing/portbase/log"
|
"github.com/safing/portbase/log"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user