From ed9200bca98a11d8a4de07cca7434c8bde439f2e Mon Sep 17 00:00:00 2001 From: Liping Xue Date: Tue, 30 May 2023 10:43:40 -0700 Subject: [PATCH] Fix typo. Signed-off-by: Liping Xue --- pkg/apis/datamover/v1alpha1/upload.go | 2 +- pkg/constants/constants.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pkg/apis/datamover/v1alpha1/upload.go b/pkg/apis/datamover/v1alpha1/upload.go index ed5aa673..0e828a40 100644 --- a/pkg/apis/datamover/v1alpha1/upload.go +++ b/pkg/apis/datamover/v1alpha1/upload.go @@ -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. diff --git a/pkg/constants/constants.go b/pkg/constants/constants.go index 6f405cf9..ab9e6444 100644 --- a/pkg/constants/constants.go +++ b/pkg/constants/constants.go @@ -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