VOL-1643 Update voltha-go to use voltha-protos and voltha-lib-go v3.0.0
Change-Id: I86744943d59de38e9285ed7f53adc49c3b047e62
diff --git a/rw_core/core/device_state_transitions.go b/rw_core/core/device_state_transitions.go
index 5188e56..d280270 100644
--- a/rw_core/core/device_state_transitions.go
+++ b/rw_core/core/device_state_transitions.go
@@ -18,8 +18,8 @@
import (
"github.com/opencord/voltha-go/rw_core/coreif"
- "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"
)
// DeviceType mentions type of device like parent, child
@@ -33,9 +33,9 @@
// DeviceState has admin, operational and connection status of device
type DeviceState struct {
- Admin voltha.AdminState_AdminState
- Connection voltha.ConnectStatus_ConnectStatus
- Operational voltha.OperStatus_OperStatus
+ Admin voltha.AdminState_Types
+ Connection voltha.ConnectStatus_Types
+ Operational voltha.OperStatus_Types
}
// TransitionHandler function type which takes device as input parameter