VOL-1247 : Modified change tuple to include previous and latest data
VOL-1214 : Fixed logs to use the proper mechanism
- Added missing license
- Moved one change tuple statement which would not include proper info
Change-Id: I5a02f6fe92c8b193642294d62f4413ac6edc0c62
diff --git a/db/model/child_type_test.go b/db/model/child_type_test.go
index 2f75eba..fcfe949 100644
--- a/db/model/child_type_test.go
+++ b/db/model/child_type_test.go
@@ -16,7 +16,6 @@
package model
import (
- "fmt"
"github.com/opencord/voltha-go/protos/voltha"
"reflect"
"testing"
@@ -44,7 +43,7 @@
tst := reflect.ValueOf(cls).Elem().FieldByName("ImageDownloads")
- fmt.Printf("############ Field by name : %+v\n", reflect.TypeOf(tst.Interface()))
+ t.Logf("############ Field by name : %+v\n", reflect.TypeOf(tst.Interface()))
if names == nil || len(names) == 0 {
t.Errorf("ChildrenFields failed to return names: %+v\n", names)