Skip to content

Fix issue when trying to access empty gnmi notification in CLI

Fabian Seidl requested to merge fix-cli-crash-on-empty-notification into develop

Description

After requesting a path that returns an empty gNMI.Notification.Update we still try to access elements of this array which crashed the CLI because it was nil. Happened when requesting acl/acl-sets for example. Simple fix for this issue in this merge request.

No related issue.

Merge request reports

Loading