open-vault/serviceregistration/consul
Calvin Leung Huang 8cefbca1c9
Refactor service registration (#8976)
* serivceregistration: refactor service registration logic to run later

* move state check to the internal func

* sr/kubernetes: update setInitialStateInternal godoc

* sr/kubernetes: remove return in setInitialState

* core/test: fix mockServiceRegistration

* address review feedback
2020-05-15 11:06:58 -07:00
..
consul_service_registration.go Refactor service registration (#8976) 2020-05-15 11:06:58 -07:00
consul_service_registration_test.go Refactor service registration (#8976) 2020-05-15 11:06:58 -07:00