From 2ab91cff61db1d73c2a1de0144c3a8eeafd0437e Mon Sep 17 00:00:00 2001 From: knightXun <1004815462@qq.com> Date: Mon, 13 Apr 2020 18:22:53 +0800 Subject: [PATCH] fix a typo --- pkg/backup/util/util.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/backup/util/util.go b/pkg/backup/util/util.go index 05a8ec1fbe2..a656fcfeb5f 100644 --- a/pkg/backup/util/util.go +++ b/pkg/backup/util/util.go @@ -52,7 +52,7 @@ func GenerateS3CertEnvVar(s3 *v1alpha1.S3StorageProvider, useKMS bool) ([]corev1 break } if !strings.HasPrefix(s3.Endpoint, "http://") { - return envVars, "InvalidS3Endpoint", fmt.Errorf("cenph endpoint URI %s must start with http://", s3.Endpoint) + return envVars, "InvalidS3Endpoint", fmt.Errorf("ceph endpoint URI %s must start with http://", s3.Endpoint) } case v1alpha1.S3StorageProviderTypeAWS: // TODO: Check the storage class, if it is not a legal storage class, use the default storage class instead