Skip to content

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

Merged
stcheng merged 1 commit intosonic-net:masterfrom
stcheng:fix
Oct 17, 2017
Merged

[port_util]: Return empty dictionary instead of a NoneType in get_bridge_port_map#17
stcheng merged 1 commit intosonic-net:masterfrom
stcheng:fix

Conversation

@stcheng
Copy link
Copy Markdown
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 [email protected]

…dge_port_map

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

Signed-off-by: Shu0T1an ChenG <[email protected]>
@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
Copy Markdown
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