VOL-1643 Update voltha-go to use voltha-protos and voltha-lib-go v3.0.0
Change-Id: I86744943d59de38e9285ed7f53adc49c3b047e62
diff --git a/db/model/event_bus.go b/db/model/event_bus.go
index 2a2c21e..4295c2d 100644
--- a/db/model/event_bus.go
+++ b/db/model/event_bus.go
@@ -18,9 +18,10 @@
import (
"encoding/json"
+
"github.com/golang/protobuf/proto"
- "github.com/opencord/voltha-lib-go/v2/pkg/log"
- "github.com/opencord/voltha-protos/v2/go/voltha"
+ "github.com/opencord/voltha-lib-go/v3/pkg/log"
+ "github.com/opencord/voltha-protos/v3/go/voltha"
)
// EventBus contains the details required to communicate with the event bus mechanism
@@ -58,7 +59,7 @@
if _, ok := ignoredCallbacks[eventType]; ok {
log.Debugf("ignoring event - type:%s, data:%+v", eventType, data)
}
- var kind voltha.ConfigEventType_ConfigEventType
+ var kind voltha.ConfigEventType_Types
switch eventType {
case PostAdd:
kind = voltha.ConfigEventType_add