If some datacenter is marked in Consul cluster as "failed" Marathon-Consul still asks for services and fails after getting 500 in response. This PR adds option to configure single datacenter to ask for.
Coverage increased (+0.08%) to 90.999% when pulling 480515452aa4809a63c9735582a3df4bfc12956e on consuldatacenters into 3d0bb6dc1eabd685f8982f395cbf1cd191a2a92d on master.
I feel that this and this are the problems. The fact that we fail on first error instead of continuing with services that we were able to load. Querying only single DC feels more like a nice addition.
If some datacenter is marked in Consul cluster as "failed" Marathon-Consul still asks for services and fails after getting 500 in response. This PR adds option to configure single datacenter to ask for.