changeset 67:3b1baa5f0bf2

client: continue running after starting the agent locally
author Omair Majid <omajid@redhat.com>
date Thu, 02 Feb 2012 12:02:35 -0500
parents 1fdd16a78761
children dd4fe145b7b1
files src/com/redhat/thermostat/client/MongoConnection.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/redhat/thermostat/client/MongoConnection.java	Thu Feb 02 10:53:45 2012 -0500
+++ b/src/com/redhat/thermostat/client/MongoConnection.java	Thu Feb 02 12:02:35 2012 -0500
@@ -100,6 +100,7 @@
                 startLocalAgent();
                 uri = new MongoURI("mongodb://127.0.0.1:"
                         + props.getProperty(Constants.AGENT_PROPERTY_MONGOD_PORT));
+                break;
             case REMOTE:
                 throw new NotImplementedException("No mongo URI implemented for REMOTE.");
             case CLUSTER: