Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pkg/templates: Use *policy.ClientOptions #4198

Closed

Commits on Aug 28, 2024

  1. pkg/templates: Use *policy.ClientOptions

    Instead of taking a `httputil.HttpClient` (which at runtime is just an
    `*http.Client`) and forming a `*policy.ClientOptions` ourselves, let's
    just take in a `*policy.ClientOptions` as an Azure SDK client
    would. Functionaly the change here means these calls will start using
    our centralized `*policy.ClientOptions` which includes this like
    adding tracing headers and a user-agent header for the REST calls we
    make, just like any client from the Azure SDKs.
    ellismg committed Aug 28, 2024
    Configuration menu
    Copy the full SHA
    6f23714 View commit details
    Browse the repository at this point in the history