vmware-archive / dispatch

Dispatch is a framework for deploying and managing serverless style applications.
http://dispatchframework.io
Apache License 2.0
532 stars 58 forks source link

Adding a new zookeeper-less controller used when no zookeeper configured #632

Closed tenczar closed 6 years ago

tenczar commented 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.

tenczar commented 6 years ago

That's easy to do and it removes a lot of duplicate code. I'll make the change.