commit | 274fabfb53841e5c7f0e22b5a131fd3512e8a889 | [log] [tgz] |
---|---|---|
author | Brian O'Connor <bocon@onlab.us> | Fri Feb 28 02:04:17 2014 -0800 |
committer | Brian O'Connor <bocon@onlab.us> | Fri Feb 28 02:07:55 2014 -0800 |
tree | 94fe5f6e97b21d9a5d7beedc02a371199e9991f6 | |
parent | f3931708f0990cae1522b4769078f6b271c6789f [diff] |
Fixed "Add a hack to remove 'F' from the Flow ID when the Flows are not routable." Change-Id: I288f88c39147980403fe3a99e8ed75f04e2b0750
diff --git a/src/main/java/net/onrc/onos/datagrid/web/GetNGFlowsSummaryResource.java b/src/main/java/net/onrc/onos/datagrid/web/GetNGFlowsSummaryResource.java index 0eed16c..cf02a12 100644 --- a/src/main/java/net/onrc/onos/datagrid/web/GetNGFlowsSummaryResource.java +++ b/src/main/java/net/onrc/onos/datagrid/web/GetNGFlowsSummaryResource.java
@@ -69,8 +69,8 @@ // Decode the Shortest Path ID String applnIntentId = parentIntent.getId(); String intentId = applnIntentId.split(":")[1]; - // A hack for Flow IDs that are not routable - intentId.replace("F", ""); + // A hack for Flow IDs that are not routable + intentId = intentId.replace("F", ""); // Create the Flow Path FlowId flowId = new FlowId(intentId);