Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[port_util]: Return empty dictionary instead of a NoneType in get_bridge_port_map #17

Merged
merged 1 commit into from
Oct 17, 2017

Conversation

stcheng
Copy link
Contributor

@stcheng stcheng commented Oct 17, 2017

This will prevent snmp subagent from crashing when iterating an empty bridge port map

Signed-off-by: Shu0T1an ChenG shuche@microsoft.com

…dge_port_map

This will prevent snmp subagent from crashing when iterating an empty bridge port map

Signed-off-by: Shu0T1an ChenG <shuche@microsoft.com>
@stcheng stcheng merged commit a21b7a9 into sonic-net:master Oct 17, 2017
@stcheng stcheng deleted the fix branch October 17, 2017 18:32
@stcheng
Copy link
Contributor Author

stcheng commented Oct 17, 2017

thanks

praveen-li pushed a commit to praveen-li/sonic-py-swsssdk that referenced this pull request May 4, 2021
* msft_github/master:
  Fix issue in get_table with zero-attribute table entries (sonic-net#20)
  Remove prefix "oid:0x" from sai oid (sonic-net#18)
  [port_util]: Return empty dictionary instead of a NoneType in get_bridge_port_map (sonic-net#17)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants