From 6a302fb960d157dc29cf7dfdbc3bc57c2059265f Mon Sep 17 00:00:00 2001 From: Artem Lifshits Date: Wed, 3 Apr 2024 12:21:47 +0200 Subject: [PATCH] Documentation fix --- docs/resources/machine_config_v2.md | 2 +- rancher2/schema_machine_config_v2_opentelekomcloud.go | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/resources/machine_config_v2.md b/docs/resources/machine_config_v2.md index 8b4ae2a0..2b2a2cb4 100644 --- a/docs/resources/machine_config_v2.md +++ b/docs/resources/machine_config_v2.md @@ -331,7 +331,7 @@ The following attributes are exported: * `subnet_id` - (Required++) OpenTelekomCloud subnet ID of the machine. Conflicts with `subnet_name` (string) * `subnet_name` - (Required++) OpenTelekomCloud subnet name of the machine. Conflicts with `subnet_id` (string) * `token` - (Optional/Sensitive) OpenTelekomCloud authentication token (string) -* `tags` - (Optional) OpenTelekomCloud tags (e.g. key1,value1,key2,value2) (string) +* `tags` - (Optional) OpenTelekomCloud tags (e.g. key1.value1,key2.value2,key3) (string) * `user_data_file` - (Optional) File containing an OpenTelekomCloud userdata script (string) * `user_data_raw` - (Optional) Contents of the OpenTelekomCloud userdata as a string (string) * `username` - (Optional) OpenTelekomCloud username (string) diff --git a/rancher2/schema_machine_config_v2_opentelekomcloud.go b/rancher2/schema_machine_config_v2_opentelekomcloud.go index a520e2c3..225e4f30 100644 --- a/rancher2/schema_machine_config_v2_opentelekomcloud.go +++ b/rancher2/schema_machine_config_v2_opentelekomcloud.go @@ -13,14 +13,14 @@ func machineConfigV2OpentelekomcloudFields() map[string]*schema.Schema { Optional: true, Computed: true, Sensitive: true, - Description: "Access key used for AK/SK auth ", + Description: "Access key used for AK/SK auth", }, "secret_key": { Type: schema.TypeString, Optional: true, Computed: true, Sensitive: true, - Description: "Access key used for AK/SK auth ", + Description: "Access key used for AK/SK auth", }, "auth_url": { Type: schema.TypeString, @@ -237,7 +237,7 @@ func machineConfigV2OpentelekomcloudFields() map[string]*schema.Schema { Type: schema.TypeString, Optional: true, Computed: true, - Description: "OTC Tags (e.g. key1,value1,key2,value2)", + Description: "OTC Tags (e.g. key1.value1,key2.value2,key3)", }, "user_data_file": { Type: schema.TypeString, @@ -253,7 +253,7 @@ func machineConfigV2OpentelekomcloudFields() map[string]*schema.Schema { Type: schema.TypeString, Optional: true, Computed: true, - Description: "OpenTelekomCloud username ", + Description: "OpenTelekomCloud username", }, "vpc_id": { Type: schema.TypeString,