Skip to content

storage: WithHTTPClient is incompatible with gRPC dial options #12886

@bgetsug

Description

@bgetsug

Client

Storage

Environment

go 1.25.1

Code and Dependencies

See this:

opts = append(opts, option.WithEndpoint(ep), option.WithHTTPClient(hc))

Expected behavior

storage.Client instantiates/initializes

Actual behavior

storage.NewClient returns error: "WithHTTPClient is incompatible with gRPC dial options"

Additional context

Started after upgrading to any version greater than 1.50.0

Metadata

Metadata

Assignees

Labels

api: storageIssues related to the Cloud Storage API.type: questionRequest for information or clarification. Not an issue.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions