Modified getDBOperation return value
diff --git a/src/main/java/net/onrc/onos/graph/GraphDBManager.java b/src/main/java/net/onrc/onos/graph/GraphDBManager.java
index 6b06fd2..f2ae376 100644
--- a/src/main/java/net/onrc/onos/graph/GraphDBManager.java
+++ b/src/main/java/net/onrc/onos/graph/GraphDBManager.java
@@ -33,7 +33,7 @@
if (operation != null) {
operation.conn = GraphDBManager.getConnection(dbStore, dbConfigFile);
}
- return null;
+ return operation;
}
public static DBConnection getConnection(final String dbStore, final String dbConfigFile) {