mirror of
https://github.com/jwetzell/showbridge-go.git
synced 2026-04-26 21:05:30 +00:00
use Id function instead of accessing config directly
This commit is contained in:
@@ -79,7 +79,7 @@ func (uc *UDPClient) Run() error {
|
||||
}
|
||||
|
||||
<-uc.ctx.Done()
|
||||
slog.Debug("router context done in module", "id", uc.config.Id)
|
||||
slog.Debug("router context done in module", "id", uc.Id())
|
||||
if uc.conn != nil {
|
||||
uc.conn.Close()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user