open-consul/agent/proxycfg-sources/catalog
Daniel Upton 8da6710958 proxycfg-sources: fix hot loop when service not found in catalog
Fixes a bug where a service getting deleted from the catalog would cause
the ConfigSource to spin in a hot loop attempting to look up the service.

This is because we were returning a nil WatchSet which would always
unblock the select.

Kudos to @freddygv for discovering this!
2022-08-02 15:42:29 +01:00
..
config_source.go proxycfg-sources: fix hot loop when service not found in catalog 2022-08-02 15:42:29 +01:00
config_source_test.go
mock_ConfigManager.go
mock_Watcher.go