mirror of
https://github.com/ysoftdevs/terraform-provider-bitbucket.git
synced 2026-04-20 15:51:20 +02:00
fix provider context
This commit is contained in:
@@ -65,12 +65,9 @@ func (p *bitbucketTokenProvider) Configure(ctx context.Context, req provider.Con
|
||||
return
|
||||
}
|
||||
|
||||
serverURL := config.ServerURL.ValueString()
|
||||
authHeader := config.AuthHeader.ValueString()
|
||||
|
||||
providerData := ProviderData{
|
||||
AuthHeader: authHeader,
|
||||
ServerURL: serverURL,
|
||||
providerData := &ProviderData{
|
||||
AuthHeader: config.AuthHeader.ValueString(),
|
||||
ServerURL: config.ServerURL.ValueString(),
|
||||
}
|
||||
|
||||
resp.DataSourceData = providerData
|
||||
|
||||
Reference in New Issue
Block a user