mirror of https://github.com/apache/druid.git
fix NPE
This commit is contained in:
parent
5a57539736
commit
d02f152498
|
@ -288,6 +288,10 @@ public class CuratorInventoryManager<ContainerClass, InventoryClass>
|
|||
|
||||
final String inventoryKey = ZKPaths.getNodeFromPath(child.getPath());
|
||||
|
||||
if (inventoryKey == null) {
|
||||
return;
|
||||
}
|
||||
|
||||
switch (event.getType()) {
|
||||
case CHILD_ADDED:
|
||||
case CHILD_UPDATED:
|
||||
|
|
Loading…
Reference in New Issue