Commit 3d3bc1a
[Credo][Ycable] Fix for displaying 'N/A' firmware version when NIC endpoint is power off (sonic-net#366)
* [Credo][Ycable] Resolve the issue of being unable to obtain the firmware version of the self-side when the NIC end is power off
Signed-off-by: Xinyu <xinyu0123@gmail.com>
* [Credo][Ycable] call get_read_side() to handle exceptions
Signed-off-by: Xinyu <xinyu0123@gmail.com>
* [Credo][Ycable] Replace the hard-coded value with a constant variable for readability
Signed-off-by: Xinyu <xinyu0123@gmail.com>
---------
Signed-off-by: Xinyu <xinyu0123@gmail.com>
Co-authored-by: Prince George <45705344+prgeor@users.noreply.github.com>1 parent 0dafb55 commit 3d3bc1a
1 file changed
Lines changed: 12 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1461 | 1461 | | |
1462 | 1462 | | |
1463 | 1463 | | |
| 1464 | + | |
| 1465 | + | |
| 1466 | + | |
| 1467 | + | |
| 1468 | + | |
| 1469 | + | |
1464 | 1470 | | |
1465 | 1471 | | |
1466 | 1472 | | |
| |||
1469 | 1475 | | |
1470 | 1476 | | |
1471 | 1477 | | |
1472 | | - | |
1473 | | - | |
| 1478 | + | |
| 1479 | + | |
| 1480 | + | |
| 1481 | + | |
| 1482 | + | |
| 1483 | + | |
1474 | 1484 | | |
1475 | 1485 | | |
1476 | 1486 | | |
| |||
0 commit comments