Skip to content

Commit

Permalink
[AW-MDNS-Provision] Skip Background Loop (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
bashar-515 authored Dec 16, 2024
1 parent 6fee36b commit 06e7271
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions subsystems/provisioning/networkmanager.go
Original file line number Diff line number Diff line change
Expand Up @@ -571,6 +571,11 @@ func (w *Provisioning) backgroundLoop(ctx context.Context, scanChan chan<- bool)
return
}

if w.cfg.MDNSMode {
w.logger.Info("skipping background loop because mdnsmode")
return
}

w.checkConfigured()
if err := w.networkScan(ctx); err != nil {
w.logger.Error(err)
Expand Down

0 comments on commit 06e7271

Please sign in to comment.