-
Notifications
You must be signed in to change notification settings - Fork 29
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Target hostapp hook: Only patch should_be_operated_by__release if nul…
…l or older release With Supervisor managed HUP, we'll soon start relying on should_be_operated_by__release to determine the target hostapp release. The Supervisor reports os_version and os_variant on device provision, and the current target-hostapp hook will set the should_be_operated_by field when receiving that initial state report. However, SV manage HUP means this field could be set prior to device provision, so we don't want to overwrite it if it's not null. If the should_be_operated_by field has a release that's older than the reported OS release though, we should update the field to the reported OS release. Change-type: patch Signed-off-by: Christina Ying Wang <[email protected]>
- Loading branch information
Showing
2 changed files
with
119 additions
and
4 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