From 11638681274f0d0fea627b66e001a1a422843120 Mon Sep 17 00:00:00 2001 From: Vaerh Date: Wed, 28 Aug 2024 10:11:28 +0300 Subject: [PATCH] docs(vlan-ids): Fix attribute description after schema change --- routeros/resource_interface_bridge_vlan.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/routeros/resource_interface_bridge_vlan.go b/routeros/resource_interface_bridge_vlan.go index b7658df7..9f9a910e 100644 --- a/routeros/resource_interface_bridge_vlan.go +++ b/routeros/resource_interface_bridge_vlan.go @@ -85,7 +85,7 @@ func ResourceInterfaceBridgeVlan() *schema.Resource { Type: schema.TypeString, }, Description: "The list of VLAN IDs for certain port configuration. This setting accepts VLAN ID range " + - "as well as comma separated values. E.g. vlan-ids=100-115,120,122,128-130.", + "as well as comma separated values. E.g. `vlan-ids=[\"100-115\",\"120\",\"122\",\"128-130\"]`.", }, } @@ -98,11 +98,11 @@ func ResourceInterfaceBridgeVlan() *schema.Resource { StateContext: schema.ImportStatePassthroughContext, }, - Schema: resSchema, + Schema: resSchema, SchemaVersion: 1, StateUpgraders: []schema.StateUpgrader{ { - Type: ResourceInterfaceBridgeVlanV0().CoreConfigSchema().ImpliedType(), + Type: ResourceInterfaceBridgeVlanV0().CoreConfigSchema().ImpliedType(), Upgrade: stateMigrationScalarToList("vlan_ids"), Version: 0, },