Open miklinux opened 3 years ago
It would be really helpful if the default datacenter could be set at configuration time
# Initialize Consul Diplomat.configure do |config| config.datacenter = 'mydc' end
and all API calls would use that each time, unless overridden.
@miklinux Yes, that's a good idea, would you like to propose a PR, I'll be glad to review it
@pierresouchay Will look into it
Hi @pierresouchay, here's the PR for reviewing!
https://github.com/WeAreFarmGeek/diplomat/pull/220
It would be really helpful if the default datacenter could be set at configuration time
and all API calls would use that each time, unless overridden.