VOL-1900 lint warning fixes ro_core
Change-Id: I5ce82f2d188d215ba9620d0923a1101ed4e5e4a8
diff --git a/ro_core/core/model_proxy_test.go b/ro_core/core/model_proxy_test.go
index 8215fb8..a9caa00 100644
--- a/ro_core/core/model_proxy_test.go
+++ b/ro_core/core/model_proxy_test.go
@@ -17,12 +17,13 @@
import (
"context"
+ "reflect"
+ "testing"
+
"github.com/opencord/voltha-go/db/model"
"github.com/opencord/voltha-protos/v2/go/voltha"
"google.golang.org/grpc/codes"
"google.golang.org/grpc/status"
- "reflect"
- "testing"
)
type fields struct {
@@ -33,9 +34,9 @@
func getModelProxyPathNotFound() *fields {
var modelProxy fields
- TestProxy_Root := model.NewRoot(&voltha.Voltha{}, nil)
- TestProxy_Root_Proxy := TestProxy_Root.CreateProxy(context.Background(), "/", false)
- modelProxy.rootProxy = TestProxy_Root_Proxy
+ TestProxyRoot := model.NewRoot(&voltha.Voltha{}, nil)
+ TestProxyRootProxy := TestProxyRoot.CreateProxy(context.Background(), "/", false)
+ modelProxy.rootProxy = TestProxyRootProxy
modelProxy.basePath = "base_path"
return &modelProxy
@@ -44,9 +45,9 @@
func getModelProxyPathFound() *fields {
var modelProxy fields
- TestProxy_Root := model.NewRoot(&voltha.Voltha{}, nil)
- TestProxy_Root_Proxy := TestProxy_Root.CreateProxy(context.Background(), "/", false)
- modelProxy.rootProxy = TestProxy_Root_Proxy
+ TestProxyRoot := model.NewRoot(&voltha.Voltha{}, nil)
+ TestProxyRootProxy := TestProxyRoot.CreateProxy(context.Background(), "/", false)
+ modelProxy.rootProxy = TestProxyRootProxy
modelProxy.basePath = "devices"
return &modelProxy