[VOL-5583] upgrade go to 1.25.5 and golangci-lint version to 2.8.0
Signed-off-by: madhumatigouda <madhumati.gouda@radisys.com>
Change-Id: Iab871760e36d5fb4be11ce9719352e9decc5438a
diff --git a/pkg/mocks/mockEventproxy.go b/pkg/mocks/mockEventproxy.go
index ebb69ef..f0e8a5d 100644
--- a/pkg/mocks/mockEventproxy.go
+++ b/pkg/mocks/mockEventproxy.go
@@ -80,3 +80,12 @@
subCategory eventif.EventSubCategory, raisedTs int64, key string) error {
return nil
}
+
+// SendKpiEvent3 mocks the SendKpiEvent3 function
+func (me *MockEventProxy) SendKpiEvent3(ctx context.Context, id string, deviceEvent *voltha.KpiEvent3, category eventif.EventCategory,
+ subCategory eventif.EventSubCategory, raisedTs int64) error {
+ if raisedTs == 0 {
+ return errors.New("raisedTS cannot be zero")
+ }
+ return nil
+}