Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix linux serial number retrieval (#2206)
* Change source of serial number in sysInfo function The serial number returned by the sysInfo function in info_linux.go has been fixed. Previously, it was incorrectly fetched from the Chassis object. Now it is correctly fetched from the Product object. This aligns better with the expected system info retrieval method. * Fallback to product.Serial in sys info In case of the chassis is "Default String" or empty then try to use product.serial --------- Co-authored-by: Zoltán Papp <zoltan.pmail@gmail.com>
- Loading branch information