Syntax check and fixing

This commit is contained in:
Sergey Shubin svs1370
2021-02-12 17:32:40 +03:00
parent c472e5ddbf
commit c928d996ed
28 changed files with 1001 additions and 1212 deletions

View File

@@ -22,12 +22,14 @@ limitations under the License.
package decort
import (
"log"
"strconv"
"strings"
/*
"log"
"strconv"
"strings"
*/
"github.com/hashicorp/terraform/helper/schema"
"github.com/hashicorp/terraform/helper/validation"
"github.com/hashicorp/terraform-plugin-sdk/helper/schema"
// "github.com/hashicorp/terraform-plugin-sdk/helper/validation"
)
func interfaceSubresourceSchemaMake() map[string]*schema.Schema {
@@ -216,13 +218,11 @@ func flattenPortforwards(pfws []PortforwardRecord) []interface{} {
func portforwardSubresourceSchema() map[string]*schema.Schema {
rets := map[string]*schema.Schema{
/* this should be uncommented for the future release
"label": {
Type: schema.TypeString,
Required: true,
Description: "Unique label of this network connection to identify it amnong other connections for this VM.",
},
*/
"ext_port": {
Type: schema.TypeInt,