diff --git a/redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisEventHandlerDAO.java b/redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisEventHandlerDAO.java index 45e577573c..e0aa0bfd8a 100644 --- a/redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisEventHandlerDAO.java +++ b/redis-persistence/src/main/java/com/netflix/conductor/redis/dao/RedisEventHandlerDAO.java @@ -72,7 +72,7 @@ public void updateEventHandler(EventHandler eventHandler) { throw new NotFoundException( "EventHandler with name %s not found!", eventHandler.getName()); } - if(!existing.getEvent().equals(eventHandler.getEvent())){ + if (!existing.getEvent().equals(eventHandler.getEvent())) { removeIndex(existing); } index(eventHandler);