[VOL-4774] openonuAdapterGo: Panic during scale test
Change-Id: I37cc31697f42cb50e44970c2b537db07381a3a3a
diff --git a/internal/pkg/core/openonu.go b/internal/pkg/core/openonu.go
index 1995a9a..f502c31 100755
--- a/internal/pkg/core/openonu.go
+++ b/internal/pkg/core/openonu.go
@@ -899,7 +899,7 @@
}
return &empty.Empty{}, nil
} else if (onuOperstate == "down") || (onuOperstate == "unreachable") {
- if err := handler.updateInterface(ctx, onuIndication); err != nil {
+ if err := handler.UpdateInterface(ctx); err != nil {
return nil, err
}
return &empty.Empty{}, nil