mirror of
https://github.com/optim-enterprises-bv/vault.git
synced 2025-11-01 02:57:59 +00:00
Observer pattern for service registration interface (#8123)
* use observer pattern for service discovery * update perf standby method * fix test * revert usersTags to being called serviceTags * use previous consul code * vault isnt a performance standby before starting * log err * changes from feedback * add Run method to interface * changes from feedback * fix core test * update example
This commit is contained in:
@@ -161,7 +161,7 @@ var (
|
||||
}
|
||||
|
||||
serviceRegistrations = map[string]sr.Factory{
|
||||
"consul": csr.NewConsulServiceRegistration,
|
||||
"consul": csr.NewServiceRegistration,
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user