mirror of
https://github.com/opentffoundation/opentf.git
synced 2025-12-25 10:00:44 -05:00
rollback protocol namings
This commit is contained in:
@@ -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 {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user