forked from sonic-net/sonic-buildimage
-
Notifications
You must be signed in to change notification settings - Fork 15
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bug fix: the fields that are not supported by vendor should be "N/A" …
…in STATE_DB (#168) - Initialize fields as "N/A" and set the field to "N/A" for those not supported by vendor API - Update set_voltage, set_temperature, treating "N/A" instead of None as invalid values - Update unit test cases accordingly Signed-off-by: Stephen Sun <[email protected]>
- Loading branch information
Showing
2 changed files
with
28 additions
and
28 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters