Skip to content

Commit

Permalink
Fix typo.
Browse files Browse the repository at this point in the history
Signed-off-by: Liping Xue <lipingx@vmware.com>
  • Loading branch information
lipingxue committed May 30, 2023
1 parent 929cc9d commit ed9200b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/apis/datamover/v1alpha1/upload.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ type UploadPhase string
// New: not processed yet
// InProgress: upload is in progress.
// Completed: upload is completed.
// UploadError: upload is failed and will be periodically retried. The stauts will change to "InProgress" at that point.
// UploadError: upload is failed and will be periodically retried. The status will change to "InProgress" at that point.
// CleanupFailed: delete local snapshot failed after the upload succeed or upload failed after maximum retry, this case will retry the delete local snapshot.
// Canceling: upload is being cancelled. It would happen if `velero backup delete` is called while the upload of snapshot is in progress.
// Canceled: upload is cancelled.
Expand Down
2 changes: 1 addition & 1 deletion pkg/constants/constants.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ const (
// After upload CR retry reaches the maximum and still cannot upload the snapshot to durable storage. Upload CR will stop further retry and
// try to delete the local snapshot.
// If local snapshot is deleted successfully, the status of upload CR will change to "UploadFailedAfterRetry".
// If local snapshot cannot be deleted, the stauts of upload CR will change to "CleanupFailed".
// If local snapshot cannot be deleted, the status of upload CR will change to "CleanupFailed".
// If the default maximum retry count does work for user, it can be overwritten by setting the "upload-cr-retry-max"
// parameter in config map velero-vsphere-plugin-config.
DefaultUploadCRRetryMaximum = 10
Expand Down

0 comments on commit ed9200b

Please sign in to comment.