Closed tenczar closed 6 years ago
Modifies the NewController method to act as a factory method. Returns a JungleController (DefaultController with Zookeeper dependencies removed) when no zookeeper path is provided. Returns the DefaultController otherwise.
That's easy to do and it removes a lot of duplicate code. I'll make the change.
Modifies the NewController method to act as a factory method. Returns a JungleController (DefaultController with Zookeeper dependencies removed) when no zookeeper path is provided. Returns the DefaultController otherwise.