Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This commit has fix for the chassisd crash reported by PR #16465 Root cause: - In the line card pmon, while pushing the hostname to CHASSIS_HOST_TABLE in chassis state db, the slot id is also pushed. The slot id (self.my_slot) is not a string. Since the FieldValue construction function expects string values, the wrapper raises value TypeError exception and hence chassisd exited. Fix: - Fixed by hard converting self.my_slot to string while passing the value to the FieldValue data construction function. Signed-off-by: vedganes <[email protected]> Co-authored-by: gechiang <[email protected]> Co-authored-by: abdosi <[email protected]>
- Loading branch information