This commit is contained in:
fjy 2013-06-28 14:57:32 -07:00
parent 5a57539736
commit d02f152498

View File

@ -288,6 +288,10 @@ public class CuratorInventoryManager<ContainerClass, InventoryClass>
final String inventoryKey = ZKPaths.getNodeFromPath(child.getPath()); final String inventoryKey = ZKPaths.getNodeFromPath(child.getPath());
if (inventoryKey == null) {
return;
}
switch (event.getType()) { switch (event.getType()) {
case CHILD_ADDED: case CHILD_ADDED:
case CHILD_UPDATED: case CHILD_UPDATED: