Skip to content
This repository has been archived by the owner on Aug 31, 2022. It is now read-only.

Fix unhandled nil err check to prevent rpc causing a crash #78

Merged
merged 1 commit into from
Jul 28, 2021

Conversation

seiferteric
Copy link
Contributor

We noticed a crash in the gNOI RPC due to not checking if err is nil before calling err.Error() function.

@pra-moh pra-moh merged commit 085f29d into sonic-net:master Jul 28, 2021
renukamanavalan pushed a commit to sonic-net/sonic-mgmt-common that referenced this pull request Jan 20, 2022
… for "show tech-support" (#49)

Provide the changes required for supporting the "show-techsupport" command via the SONiC Management Framework front end mechanisms (CLI, REST, and gNOI). The Management Framework functionality implemented by this PR improves on the the capabilities currently provided by the SONiC Click CLI interface via the "show techsupport" command by providing the following additional features:

User-friendly "help" information describing command syntax details for CLI invocation.
Ability to invoke the command via REST and gNOI mechanisms.
Unit test results are attached to this PR.

unit_test_log_0607.txt

Corequisite PRs:
sonic-net/sonic-telemetry#78
sonic-net/sonic-telemetry#79
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants