Add missing node tracking for config-defined nodes
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
2
types.go
2
types.go
@@ -140,6 +140,7 @@ type Node struct {
|
||||
PoEBudget *PoEBudget `json:"poe_budget,omitempty"`
|
||||
IsDanteClockMaster bool `json:"is_dante_clock_master,omitempty"`
|
||||
DanteTxChannels string `json:"dante_tx_channels,omitempty"`
|
||||
Missing bool `json:"missing,omitempty"`
|
||||
pollTrigger chan struct{}
|
||||
}
|
||||
|
||||
@@ -159,6 +160,7 @@ func (n *Node) WithInterface(ifaceKey string) *Node {
|
||||
PoEBudget: n.PoEBudget,
|
||||
IsDanteClockMaster: n.IsDanteClockMaster,
|
||||
DanteTxChannels: n.DanteTxChannels,
|
||||
Missing: n.Missing,
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user