Skip to content

Commit

Permalink
explicity set http protocol
Browse files Browse the repository at this point in the history
  • Loading branch information
skorobogatydmitry committed Jan 19, 2024
1 parent 2014c10 commit f758bbb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions managed/provider.go
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,8 @@ func (p *provider) Configure(ctx context.Context, req tfsdk.ConfigureProviderReq
configuration.Host = host
if use_secure_host {
configuration.Scheme = "https"
} else {
configuration.Scheme = "http"
}
api_client := openapiclient.NewAPIClient(configuration)

Expand Down

0 comments on commit f758bbb

Please sign in to comment.