Skip to content

Commit

Permalink
fix a typo (#2167)
Browse files Browse the repository at this point in the history
  • Loading branch information
knightXun authored Apr 14, 2020
1 parent c33be48 commit 584210e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/backup/util/util.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 584210e

Please sign in to comment.