[VOL-5374] Update go version to 1.23
- Upgraded Go version for compatibility with recent toolchain
- Synced with latest dependency requirements
Change-Id: Ib526d29ec9e5d5e08e51354b741541038dcedb35
Signed-off-by: Akash Kankanala <akash.kankanala@radisys.com>
diff --git a/internal/pkg/core/openolt.go b/internal/pkg/core/openolt.go
index 88e3efe..44ac313 100644
--- a/internal/pkg/core/openolt.go
+++ b/internal/pkg/core/openolt.go
@@ -44,22 +44,22 @@
// OpenOLT structure holds the OLT information
type OpenOLT struct {
+ eventProxy eventif.EventProxy
configManager *conf.ConfigManager
deviceHandlers map[string]*DeviceHandler
coreClient *vgrpc.Client
- eventProxy eventif.EventProxy
config *config.AdapterFlags
- numOnus int
+ exitChannel chan struct{}
KVStoreAddress string
KVStoreType string
- exitChannel chan struct{}
+ numOnus int
HeartbeatCheckInterval time.Duration
HeartbeatFailReportInterval time.Duration
GrpcTimeoutInterval time.Duration
+ rpcTimeout time.Duration
lockDeviceHandlersMap sync.RWMutex
enableONUStats bool
enableGemStats bool
- rpcTimeout time.Duration
CheckOnuDevExistenceAtOnuDiscovery bool
}
@@ -264,7 +264,6 @@
return &empty.Empty{}, nil
}
return nil, olterrors.NewErrNotFound("device-handler", log.Fields{"device-id": device.Id}, nil)
-
}
// DeleteDevice deletes a device
@@ -333,7 +332,6 @@
return &empty.Empty{}, nil
}
return nil, olterrors.NewErrNotFound("device-handler", log.Fields{"device-id": packet.DeviceId}, nil)
-
}
// EnablePort to Enable PON/NNI interface
@@ -507,7 +505,6 @@
return handler.GetTechProfileDownloadMessage(ctx, request)
}
return nil, olterrors.NewErrNotFound("no-device-handler", log.Fields{"parent-device-id": request.ParentDeviceId, "child-device-id": request.DeviceId}, nil).Log()
-
}
// GetHealthStatus is used by a OltAdapterService client to detect a connection