VOL-3505 Send an ofp_error_msg on flow add/delete error
Change-Id: I3791d4ab7ae0f7730f52988234d0c99af2cea75f
diff --git a/rw_core/core/device/logical_manager.go b/rw_core/core/device/logical_manager.go
index 8cffd78..2fca7c5 100644
--- a/rw_core/core/device/logical_manager.go
+++ b/rw_core/core/device/logical_manager.go
@@ -449,7 +449,7 @@
if agent == nil {
return nil, status.Errorf(codes.NotFound, "%s", flow.Id)
}
- return &empty.Empty{}, agent.updateFlowTable(ctx, flow.FlowMod)
+ return &empty.Empty{}, agent.updateFlowTable(ctx, flow)
}
// UpdateLogicalDeviceMeterTable - This function sends meter mod request to logical device manager and waits for response