Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
Signed-off-by: Anatolii Bazko <[email protected]>
  • Loading branch information
tolusha committed Aug 9, 2021
1 parent a941817 commit af7d522
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions controllers/checlusterrestore/checlusterrestore_controller.go
Original file line number Diff line number Diff line change
Expand Up @@ -215,10 +215,9 @@ func (r *ReconcileCheClusterRestore) doReconcile(restoreCR *chev1.CheClusterRest
if err := os.RemoveAll(backupDataDestDir); err != nil {
return false, err
}
}

rctx.state.cheRestored = true
// rctx.UpdateRestoreStatus()
rctx.state.cheRestored = true
}

rctx.restoreCR.Status.Message = "Restore successfully finished"
rctx.restoreCR.Status.State = chev1.STATE_SUCCEEDED
Expand Down

0 comments on commit af7d522

Please sign in to comment.