diff --git a/events/sessions.go b/events/circuits.go similarity index 98% rename from events/sessions.go rename to events/circuits.go index 98d02fe7b..664a463d9 100644 --- a/events/sessions.go +++ b/events/circuits.go @@ -99,8 +99,8 @@ func (adapter *fabricCircuitPathUpdatedEventAdapter) CircuitCreated(string, stri func (adapter *fabricCircuitPathUpdatedEventAdapter) CircuitDeleted(string, string) { } -func (adapter *fabricCircuitPathUpdatedEventAdapter) PathUpdated(circuitId string, circuit *network.Path) { - adapter.wrapped.PathUpdated(circuitId, circuit) +func (adapter *fabricCircuitPathUpdatedEventAdapter) PathUpdated(circuitId string, path *network.Path) { + adapter.wrapped.PathUpdated(circuitId, path) } // Will work for all fabric circuit event types diff --git a/events/global_registry.go b/events/global_registry.go index 8a3154d02..3f6cc07a2 100644 --- a/events/global_registry.go +++ b/events/global_registry.go @@ -125,7 +125,7 @@ events: - type: metrics sourceFilter: .* metricFilter: .*xgress.*tx*.m1_rate - - type: fabric.sessions + - type: fabric.circuits include: - created - type: edge.sessions