Skip to content

Commit

Permalink
Bad refactoring, these should be active not cos
Browse files Browse the repository at this point in the history
Signed-off-by: Mauro Morales <mauro.morales@spectrocloud.com>
  • Loading branch information
mauromorales committed Mar 29, 2024
1 parent 69756e3 commit d7128ce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/uki/install.go
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ func (i *InstallAction) Run() (err error) {
return err
}

for _, role := range constants.UkiDefaultMenuEntries() {
for _, role := range []string{"active", "passive", "recovery", "autoreset"} {
if err = copyArtifactSetRole(i.cfg.Fs, i.spec.Partitions.EFI.MountPoint, UnassignedArtifactRole, role, i.cfg.Logger); err != nil {
i.cfg.Logger.Errorf("installing the new artifact set as %s: %s", role, err.Error())
return fmt.Errorf("installing the new artifact set as %s: %w", role, err)
Expand Down

0 comments on commit d7128ce

Please sign in to comment.