Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
Signed-off-by: David Cassany <dcassany@suse.com>
  • Loading branch information
davidcassany committed Jan 22, 2024
1 parent 1f3ea41 commit 4452069
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions pkg/action/upgrade.go
Original file line number Diff line number Diff line change
Expand Up @@ -282,7 +282,7 @@ func (u *UpgradeAction) Run() (err error) {
recoverySystem := u.spec.RecoverySystem
u.cfg.Logger.Info("Deploying recovery system")
if recoverySystem.Source.String() == u.spec.System.String() {
// Reuse already deployed root-tree from actice snapshot
// Reuse already deployed root-tree from active snapshot
recoverySystem.Source, err = u.snapshotter.SnapshotToImageSource(u.snapshot)
if err != nil {
return err
Expand Down Expand Up @@ -321,8 +321,6 @@ func (u *UpgradeAction) Run() (err error) {
return err
}

_, _ = u.cfg.Runner.Run("sync")

u.Info("Upgrade completed")

// Do not reboot/poweroff on cleanup errors
Expand Down

0 comments on commit 4452069

Please sign in to comment.