Closed mbarnes closed 7 years ago
CommissaireHttpServer doesn't do anything with its Bus instance except hand it off to the Dispatcher, so let the Dispatcher set up its own Bus instance and own it.
CommissaireHttpServer
Bus
Dispatcher
Follow-up from https://github.com/projectatomic/commissaire-http/pull/47, I think this is cleaner.
CommissaireHttpServer
doesn't do anything with itsBus
instance except hand it off to theDispatcher
, so let theDispatcher
set up its ownBus
instance and own it.Follow-up from https://github.com/projectatomic/commissaire-http/pull/47, I think this is cleaner.