changeset 9:26a79795d026

somewhere while updating/merging the patch this one line got lost
author Omair Majid <omajid@redhat.com>
date Tue, 29 Nov 2011 11:07:22 -0500
parents 3db016a4e023
children 02c81fea0d80
files src/com/redhat/thermostat/agent/Main.java
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/com/redhat/thermostat/agent/Main.java	Tue Nov 29 11:01:09 2011 -0500
+++ b/src/com/redhat/thermostat/agent/Main.java	Tue Nov 29 11:07:22 2011 -0500
@@ -74,6 +74,7 @@
         Agent agent = new Agent(backendRegistry, config, storage);
         config.setAgent(agent);
         config.setStorage(storage);
+        storage.setAgentId(agent.getId());
         try {
             agent.start();
         } catch (LaunchException le) {