Drop isrecovery from state struct

Only needed in one place, can be made into a function

Signed-off-by: Itxaka <itxaka@spectrocloud.com>
This commit is contained in:
Itxaka
2023-02-09 08:54:16 +01:00
parent 8cd3520311
commit cf69cffa4b
2 changed files with 6 additions and 6 deletions

View File

@@ -58,7 +58,6 @@ Sends a generic event payload with the configuration found in the scanned direct
MountRoot: true,
TargetLabel: utils.BootStateToLabel(),
TargetImage: img[0],
IsRecovery: utils.IsRecovery(),
}
err = s.Register(g)