Commit cba11a0
Fix pfcwd start_default: Use config_db to get the active port list. (sonic-net#319)
* Fix pfcwd start_default: Use config_db to get the active port list. Remove
the use of counters_db because start_default can be called on a device where no
pfcwd is enabled, so the only source we can reply on to get the port
info is the config_db not counters_db.
Signed-off-by: Wenda Ni <[email protected]>
* Address comments: remove function get_active_ports_from_configdb, inline the operation
Signed-off-by: Wenda <[email protected]>1 parent 53c0007 commit cba11a0
1 file changed
Lines changed: 3 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
197 | 197 | | |
198 | 198 | | |
199 | 199 | | |
200 | | - | |
201 | | - | |
202 | 200 | | |
203 | | - | |
| 201 | + | |
| 202 | + | |
204 | 203 | | |
205 | 204 | | |
206 | 205 | | |
| |||
215 | 214 | | |
216 | 215 | | |
217 | 216 | | |
218 | | - | |
| 217 | + | |
219 | 218 | | |
220 | 219 | | |
221 | 220 | | |
| |||
0 commit comments