mirror of
https://github.com/qdm12/gluetun.git
synced 2026-06-12 15:22:24 +02:00
feat(dns): add leak check report log
This commit is contained in:
@@ -59,6 +59,13 @@ func (l *Loop) Run(ctx context.Context, done chan<- struct{}) {
|
||||
|
||||
l.userTrigger = false
|
||||
|
||||
report, err := leakCheck(ctx, l.client)
|
||||
if err != nil {
|
||||
l.logger.Warnf("running leak check: %s", err)
|
||||
} else {
|
||||
l.logger.Infof("leak check report: %s", report)
|
||||
}
|
||||
|
||||
exitLoop := l.runWait(ctx, runError)
|
||||
if exitLoop {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user