Change update_feature_state call to pass False as default if feature has no 'has_timer' field#5260
Conversation
|
retest vsimage please |
|
retest vsimage please |
|
@noaOrMlnx, can you please check with latest master. There was an issue where has_timer was passed in as a string and so it was evaluating to |
|
@tahmed-dev I checked an image with the merged PR. |
|
retest vsimage please |
1 similar comment
|
retest vsimage please |
New changes can be found in PR:5248
|
retest baseimage please |
@noaOrMlnx what is the exact scenario where this new field |
@tahmed-dev This change is required for external features we have. Instead of changing the feature structure, this change will prevent the system to crush if the external feature doesn't have this field. |
…has no 'has_timer' field (#5260) * Pass False as default if feature has no timer field * Update hostcfgd to fit the new changes merged New changes can be found in PR:5248
…has no 'has_timer' field (sonic-net#5260) * Pass False as default if feature has no timer field * Update hostcfgd to fit the new changes merged New changes can be found in PR:5248
- Why I did it
In order to make hostcfgd not to fail if feature has no 'has_timer' field
- How I did it
Change the update_feature_state call to pass False by default.
- How to verify it
Enable feature that has no 'has timer' field and make sure hostcfgd not failing.
- Which release branch to backport (provide reason below if selected)
- Description for the changelog
- A picture of a cute animal (not mandatory but encouraged)