mirror of
https://github.com/weaveworks/scope.git
synced 2026-05-21 00:23:05 +00:00
Merge branch '3810-cordon-control'
This commit is contained in:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user