VOL-2138 Use v2 import paths for voltha-lib-go
Change-Id: I853dcce79c4defbe3140f3893651a2f50d63e053
diff --git a/tests/afrouter/templates/client.go.tmpl b/tests/afrouter/templates/client.go.tmpl
index ba68ed2..8543040 100644
--- a/tests/afrouter/templates/client.go.tmpl
+++ b/tests/afrouter/templates/client.go.tmpl
@@ -23,7 +23,7 @@
"google.golang.org/grpc"
"golang.org/x/net/context"
"google.golang.org/grpc/metadata"
- "github.com/opencord/voltha-lib-go/pkg/log"
+ "github.com/opencord/voltha-lib-go/v2/pkg/log"
// Values generated by the go template
{{range .Imports}}
"{{.}}"
diff --git a/tests/afrouter/templates/main.go.tmpl b/tests/afrouter/templates/main.go.tmpl
index 5328226..5293b06 100644
--- a/tests/afrouter/templates/main.go.tmpl
+++ b/tests/afrouter/templates/main.go.tmpl
@@ -27,7 +27,7 @@
"context"
//slog "log"
//"google.golang.org/grpc/grpclog"
- "github.com/opencord/voltha-lib-go/pkg/log"
+ "github.com/opencord/voltha-lib-go/v2/pkg/log"
)
func startSut(cmdStr string) (*exec.Cmd, context.CancelFunc, error) {
diff --git a/tests/afrouter/templates/runAll.go.tmpl b/tests/afrouter/templates/runAll.go.tmpl
index 9ad8356..a0414a2 100644
--- a/tests/afrouter/templates/runAll.go.tmpl
+++ b/tests/afrouter/templates/runAll.go.tmpl
@@ -25,7 +25,7 @@
"fmt"
"os/exec"
"io/ioutil"
- "github.com/opencord/voltha-lib-go/pkg/log"
+ "github.com/opencord/voltha-lib-go/v2/pkg/log"
)
diff --git a/tests/afrouter/templates/runTests.go.tmpl b/tests/afrouter/templates/runTests.go.tmpl
index 9d3fdf5..5660739 100644
--- a/tests/afrouter/templates/runTests.go.tmpl
+++ b/tests/afrouter/templates/runTests.go.tmpl
@@ -26,7 +26,7 @@
"encoding/json"
//"golang.org/x/net/context"
"google.golang.org/grpc/metadata"
- "github.com/opencord/voltha-lib-go/pkg/log"
+ "github.com/opencord/voltha-lib-go/v2/pkg/log"
{{end}}
{{range .Imports}}
{{if .Used}}
diff --git a/tests/afrouter/templates/server.go.tmpl b/tests/afrouter/templates/server.go.tmpl
index ea95a01..7ce70b0 100644
--- a/tests/afrouter/templates/server.go.tmpl
+++ b/tests/afrouter/templates/server.go.tmpl
@@ -27,7 +27,7 @@
"google.golang.org/grpc"
"golang.org/x/net/context"
"google.golang.org/grpc/metadata"
- "github.com/opencord/voltha-lib-go/pkg/log"
+ "github.com/opencord/voltha-lib-go/v2/pkg/log"
// Values generated by the go template
{{range .Imports}}
"{{.}}"
diff --git a/tests/afrouter/templates/stats.go.tmpl b/tests/afrouter/templates/stats.go.tmpl
index be7d858..92c923c 100644
--- a/tests/afrouter/templates/stats.go.tmpl
+++ b/tests/afrouter/templates/stats.go.tmpl
@@ -26,7 +26,7 @@
"io/ioutil"
"encoding/json"
//"google.golang.org/grpc/grpclog"
- "github.com/opencord/voltha-lib-go/pkg/log"
+ "github.com/opencord/voltha-lib-go/v2/pkg/log"
)
type TestCase struct {