[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/pkg/mocks/mockOpenOltClient.go b/pkg/mocks/mockOpenOltClient.go
old mode 100755
new mode 100644
index eeae6c3..5c6ed55
--- a/pkg/mocks/mockOpenOltClient.go
+++ b/pkg/mocks/mockOpenOltClient.go
@@ -38,7 +38,7 @@
// DisableOlt mocks the DisableOlt function of Openoltclient.
func (ooc *MockOpenoltClient) DisableOlt(ctx context.Context, in *openolt.Empty, opts ...grpc.CallOption) (*openolt.Empty, error) {
- //return &openolt.Empty{}, nil
+ // return &openolt.Empty{}, nil
if ooc.counter == 0 {
ooc.counter++
return &openolt.Empty{}, nil
@@ -206,12 +206,12 @@
func (mock *mockOpenoltEnableIndicationClient) Recv() (*openolt.Indication, error) {
if mock.count == 0 {
- mock.count = mock.count + 1
+ mock.count++
indi := &openolt.Indication{Data: &openolt.Indication_OltInd{OltInd: &openolt.OltIndication{OperState: "Down"}}}
return indi, nil
}
if mock.count == 1 {
- mock.count = mock.count + 1
+ mock.count++
return nil, errors.New("error, while processing indication")
}