rollback protocol namings

This commit is contained in:
Elbaz
2023-08-22 14:20:40 +03:00
parent ecea3e2591
commit b3080211d0
8 changed files with 11 additions and 11 deletions

View File

@@ -242,7 +242,7 @@ func (b *Backend) configure(ctx context.Context) error {
}
// Overriding with static configuration
cfg.UserAgent = fmt.Sprintf("placeholderplaceholderplaceholder/1.0 OpenTF/%s", version.String())
cfg.UserAgent = fmt.Sprintf("HashiCorp/1.0 Terraform/%s", version.String())
if v, ok := data.GetOk("host"); ok {
cfg.Host = v.(string)
@@ -397,7 +397,7 @@ func tryLoadingConfigFile(d *schema.ResourceData) (*restclient.Config, error) {
func expandStringSlice(s []interface{}) []string {
result := make([]string, len(s), len(s))
for k, v := range s {
// Handle the OpenTF parser bug which turns empty strings in lists to nil.
// Handle the Terraform parser bug which turns empty strings in lists to nil.
if v == nil {
result[k] = ""
} else {

View File

@@ -269,7 +269,7 @@ func (c *RemoteClient) getLabels() map[string]string {
tfstateKey: "true",
tfstateSecretSuffixKey: c.nameSuffix,
tfstateWorkspaceKey: c.workspace,
managedByKey: "opentf",
managedByKey: "terraform",
}
if len(c.labels) != 0 {