jexia / semaphore

Take control of your data, connect with anything, and expose it anywhere through protocols such as HTTP, GraphQL, and gRPC.

Home Page:https://jexia.github.io/semaphore/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Looks like watcher cache is never used (consul discovery)

Alma-media opened this issue · comments

The map is nil and never initialized, looks like it was defined to collect the watchers but was never used

https://github.com/jexia/semaphore/blob/master/pkg/discovery/consul/consul.go#L11