commit | ae5ebd28fcc24adbbf9977da7ed70bd1caddd85a | [log] [tgz] |
---|---|---|
author | Pankaj Berde <pankaj@onlab.us> | Mon Jun 10 21:23:07 2013 -0700 |
committer | Pankaj Berde <pankaj@onlab.us> | Mon Jun 10 21:23:07 2013 -0700 |
tree | 58ddca653d59a879cfb1b42d2590843b07dde42e | |
parent | 254abb4c1a3b8d7b43d8633bf701f04fa945869f [diff] |
Close transaction
diff --git a/src/main/java/net/floodlightcontroller/linkdiscovery/internal/TopoLinkServiceImpl.java b/src/main/java/net/floodlightcontroller/linkdiscovery/internal/TopoLinkServiceImpl.java index 1bd6421..9d5fdba 100644 --- a/src/main/java/net/floodlightcontroller/linkdiscovery/internal/TopoLinkServiceImpl.java +++ b/src/main/java/net/floodlightcontroller/linkdiscovery/internal/TopoLinkServiceImpl.java
@@ -8,6 +8,7 @@ import net.floodlightcontroller.linkdiscovery.internal.LinkStorageImpl.ExtractLink; import net.floodlightcontroller.routing.Link; import net.onrc.onos.util.GraphDBConnection; +import net.onrc.onos.util.GraphDBConnection.Transaction; import org.slf4j.Logger; import org.slf4j.LoggerFactory; @@ -51,6 +52,7 @@ } } + conn.endTx(Transaction.COMMIT); return links; }