Create Kubernetes Probes for API Server[VOL-1731]
Change-Id: Ie289ffce77af284f2b8f62603f8570d80a598e50
diff --git a/internal/pkg/afrouter/api_test.go b/internal/pkg/afrouter/api_test.go
index 0bcb1d4..fc00a1b 100644
--- a/internal/pkg/afrouter/api_test.go
+++ b/internal/pkg/afrouter/api_test.go
@@ -18,6 +18,7 @@
import (
"fmt"
+ "github.com/opencord/voltha-lib-go/v2/pkg/probe"
"github.com/phayes/freeport"
"github.com/stretchr/testify/assert"
"testing"
@@ -98,9 +99,9 @@
}
func makeProxy(numBackends int, numConnections int) (*ArouterProxy, error) {
-
+ p := &probe.Probe{}
conf := makeConfig(3, 2)
- arouter, err := NewArouterProxy(&conf)
+ arouter, err := NewArouterProxy(&conf, p)
return arouter, err
}