Skip to content

Commit

Permalink
*: polish failure reason
Browse files Browse the repository at this point in the history
Signed-off-by: BornChanger <[email protected]>
  • Loading branch information
BornChanger committed Jun 29, 2023
1 parent 4da5228 commit 49ceb26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backup/restore/restore_manager.go
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@ func (rm *restoreManager) syncRestoreJob(restore *v1alpha1.Restore) error {
rm.statusUpdater.Update(restore, &v1alpha1.RestoreCondition{
Type: v1alpha1.RestoreRetryFailed,
Status: corev1.ConditionTrue,
Reason: "ListTiKVPodsFailed",
Reason: "ListPVsFailed",
Message: err.Error(),
}, nil)
return err
Expand Down

0 comments on commit 49ceb26

Please sign in to comment.