Skip to content

Commit 4207df1

Browse files
authored
fix: restore ops info is not deleted in cluster.annotations when restore is done (#8717)
1 parent ce869a1 commit 4207df1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/apps/operations/restore.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ func (r RestoreOpsHandler) ReconcileAction(reqCtx intctrlutil.RequestCtx, cli cl
116116
}
117117
return appsv1alpha1.OpsFailedPhase, 0, err
118118
}
119-
119+
opsRes.Cluster = cluster
120120
// check if the cluster is running
121121
if cluster.Status.Phase == appsv1alpha1.RunningClusterPhase {
122122
return appsv1alpha1.OpsSucceedPhase, 0, nil

0 commit comments

Comments
 (0)