changeset 1962:08b645d025d9

Fix bug where FindVmCommand latch reset to wrong count Reviewed-by: omajid, jkang, jerboaa Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2015-July/015000.html Review-thread: http://icedtea.classpath.org/pipermail/thermostat/2016-June/019718.html PR3040
author Andrew Azores <aazores@redhat.com>
date Fri, 31 Jul 2015 12:27:37 -0400
parents 2c970a73043a
children 91224918b9be
files vm-find/command/src/main/java/com/redhat/thermostat/vm/find/command/internal/FindVmCommand.java
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/vm-find/command/src/main/java/com/redhat/thermostat/vm/find/command/internal/FindVmCommand.java	Fri Jul 24 13:06:09 2015 -0400
+++ b/vm-find/command/src/main/java/com/redhat/thermostat/vm/find/command/internal/FindVmCommand.java	Fri Jul 31 12:27:37 2015 -0400
@@ -190,6 +190,6 @@
         setAgentInfoDAO(null);
         setHostInfoDAO(null);
         setVmInfoDAO(null);
-        servicesLatch = new CountDownLatch(2);
+        servicesLatch = new CountDownLatch(3);
     }
 }