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)