Commit 64aa1b8
maksymbelei95
[show] Fix warnings, related to gearbox, while show commands execution (sonic-net#1343)
* Performing getting from APPL_DB of all the keys while checking readiness
status of the gearbox to prevent warnings sending to syslog if there no
records of PHYs of a gearbox in APPL_DB.
* Moving of the gearbox readiness status checking procedure to separated
function.
Signed-off-by: Maksym Belei <[email protected]>1 parent ff226d0 commit 64aa1b8
1 file changed
+17
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| 5 | + | |
5 | 6 | | |
6 | 7 | | |
7 | 8 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
| 49 | + | |
| 50 | + | |
48 | 51 | | |
49 | 52 | | |
50 | 53 | | |
| |||
119 | 122 | | |
120 | 123 | | |
121 | 124 | | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
122 | 131 | | |
| 132 | + | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + | |
| 138 | + | |
123 | 139 | | |
124 | 140 | | |
125 | 141 | | |
| |||
160 | 176 | | |
161 | 177 | | |
162 | 178 | | |
163 | | - | |
164 | | - | |
165 | | - | |
166 | | - | |
| 179 | + | |
167 | 180 | | |
168 | 181 | | |
169 | 182 | | |
| |||
0 commit comments