Skip to content

Incompatible with retry logic in HashiCorp go-retryablehttp #8

@francescobianco

Description

@francescobianco

Incompatible with retry logic in HashiCorp go-retryablehttp

Description
Trying to wrap SDK calls with retryablehttp fails due to internal request handling.

Code snippet

client := retryablehttp.NewClient()

apiClient := clientpkg.NewClient(token)

_, err := apiClient.Request(ctx, "GET", baseURL, "/advance", nil, nil)

Expected
Ability to plug custom transport for retries.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions