From 2654df1dec4abda8af2d96f7e927550f29566940 Mon Sep 17 00:00:00 2001 From: Ben Ye Date: Wed, 25 Dec 2024 17:56:19 -0800 Subject: [PATCH] fix OCI test bucket panic Signed-off-by: Ben Ye --- providers/oci/oci.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/providers/oci/oci.go b/providers/oci/oci.go index 7b4230e..6d5b6c0 100644 --- a/providers/oci/oci.go +++ b/providers/oci/oci.go @@ -355,7 +355,7 @@ func NewBucket(logger log.Logger, ociConfig []byte, wrapRoundtripper func(http.R return nil, errors.Wrapf(err, "unable to create OKE workload identity config provider") } default: - return nil, errors.Wrapf(err, fmt.Sprintf("unsupported OCI provider: %s", provider)) + return nil, fmt.Errorf("unsupported OCI provider: %s", provider) } client, err := objectstorage.NewObjectStorageClientWithConfigurationProvider(configurationProvider)