Skip to content

Commit

Permalink
Merge pull request #160 from thanos-io/fix-oci-test-bucket
Browse files Browse the repository at this point in the history
Fix OCI test bucket panic
  • Loading branch information
yeya24 authored Dec 26, 2024
2 parents 063ea38 + 2654df1 commit a14268e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion providers/oci/oci.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit a14268e

Please sign in to comment.