mirror of
https://github.com/opentofu/opentofu.git
synced 2025-02-25 18:45:20 -06:00
update
This commit is contained in:
parent
57b05912e1
commit
6c86f6ba51
@ -7,6 +7,8 @@ import (
|
|||||||
"context"
|
"context"
|
||||||
"encoding/json"
|
"encoding/json"
|
||||||
"fmt"
|
"fmt"
|
||||||
|
"github.com/placeholderplaceholderplaceholder/opentf/internal/httpclient"
|
||||||
|
"github.com/placeholderplaceholderplaceholder/opentf/version"
|
||||||
"log"
|
"log"
|
||||||
"os"
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
@ -437,6 +439,7 @@ func testGetClientOptions(t *testing.T) ([]option.ClientOption, error) {
|
|||||||
}
|
}
|
||||||
credOptions = append(credOptions, option.WithCredentialsJSON([]byte(contents)))
|
credOptions = append(credOptions, option.WithCredentialsJSON([]byte(contents)))
|
||||||
opts = append(opts, credOptions...)
|
opts = append(opts, credOptions...)
|
||||||
|
opts = append(opts, option.WithUserAgent(httpclient.TerraformUserAgent(version.Version)))
|
||||||
|
|
||||||
return opts, nil
|
return opts, nil
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user