Merge branch '3810-cordon-control'

This commit is contained in:
Bryan Boreham
2021-05-20 15:53:24 +00:00
27 changed files with 4456 additions and 3 deletions

View File

@@ -113,6 +113,9 @@ func controlsFor(topology report.Topology, nodeID string) []ControlInstance {
}
for _, controlID := range node.ActiveControls() {
if control, ok := topology.Controls[controlID]; ok {
if control.ProbeID != "" { // does this Control have an override for the node probe?
probeID = control.ProbeID
}
result = append(result, ControlInstance{
ProbeID: probeID,
NodeID: nodeID,