Skip to content

Commit

Permalink
set route after node update
Browse files Browse the repository at this point in the history
  • Loading branch information
yabinma committed Jun 7, 2024
1 parent 4868b73 commit a831516
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions functions/mqhandlers.go
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ func NodeUpdate(client mqtt.Client, msg mqtt.Message) {
slog.Error("could not configure netmaker interface", "error", err)
return
}
wireguard.SetRoutesFromCache()
time.Sleep(time.Second)

doneErr := publishSignal(&newNode, DONE)
Expand Down

0 comments on commit a831516

Please sign in to comment.