File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,7 @@ func readOtpEntropy() ([]byte, error) { //nolint:unused
3939 return content [0x17 :0x1C ], nil
4040}
4141
42- func hwReboot (force bool , postRebootAction * ota.PostRebootAction , delay time.Duration ) error { //nolint:unused
42+ func hwReboot (force bool , postRebootAction * ota.PostRebootAction , delay time.Duration ) error {
4343 logger .Info ().Msgf ("Reboot requested, rebooting in %d seconds..." , delay )
4444
4545 writeJSONRPCEvent ("willReboot" , postRebootAction , currentSession )
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ type UpdateStatus struct {
4343// It is used to redirect the user to a specific page after a reboot
4444type PostRebootAction struct {
4545 HealthCheck string `json:"healthCheck"` // The health check URL to call after the reboot
46- RedirectUrl string `json:"redirectUrl"` // The URL to redirect to after the reboot
46+ RedirectTo string `json:"redirectTo"` // The URL to redirect to after the reboot
4747}
4848
4949// componentUpdateStatus represents the status of a component update
You can’t perform that action at this time.
0 commit comments