Improved logging of registered mappings (#96)

This commit is contained in:
Geoff Bourne
2022-07-05 09:53:23 -05:00
committed by GitHub
parent 9163ae66d4
commit 1a873cb58a
2 changed files with 14 additions and 11 deletions
+2 -4
View File
@@ -78,8 +78,7 @@ func TestK8sWatcherImpl_handleAddThenUpdate(t *testing.T) {
}
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
// reset the routes
Routes.RegisterAll(map[string]string{})
Routes.Reset()
watcher := &k8sWatcherImpl{}
initialSvc := v1.Service{}
@@ -150,8 +149,7 @@ func TestK8sWatcherImpl_handleAddThenDelete(t *testing.T) {
}
for _, test := range tests {
t.Run(test.name, func(t *testing.T) {
// reset the routes
Routes.RegisterAll(map[string]string{})
Routes.Reset()
watcher := &k8sWatcherImpl{}
initialSvc := v1.Service{}