From 6599cb97b4ab35f4ba6f70358e80d59b58362151 Mon Sep 17 00:00:00 2001 From: Gogen120 Date: Wed, 14 Feb 2024 17:58:38 +0300 Subject: [PATCH] Fix linters issues --- selectel/schema_selectel_dbaas_kafka_datastore_v1.go | 1 + selectel/schema_selectel_dbaas_mysql_database_v1.go | 1 + selectel/schema_selectel_dbaas_mysql_datastore_v1.go | 1 + selectel/schema_selectel_dbaas_postgresql_datastore_v1.go | 1 + selectel/schema_selectel_dbaas_redis_datastore_v1.go | 1 + 5 files changed, 5 insertions(+) diff --git a/selectel/schema_selectel_dbaas_kafka_datastore_v1.go b/selectel/schema_selectel_dbaas_kafka_datastore_v1.go index cc5d716c..6915cc6d 100644 --- a/selectel/schema_selectel_dbaas_kafka_datastore_v1.go +++ b/selectel/schema_selectel_dbaas_kafka_datastore_v1.go @@ -14,5 +14,6 @@ func resourceDBaaSKafkaDatastoreV1Schema() map[string]*schema.Schema { for _, field := range invalidKafkaFields { delete(datastoreSchema, field) } + return datastoreSchema } diff --git a/selectel/schema_selectel_dbaas_mysql_database_v1.go b/selectel/schema_selectel_dbaas_mysql_database_v1.go index 920c58aa..fdbdc6e4 100644 --- a/selectel/schema_selectel_dbaas_mysql_database_v1.go +++ b/selectel/schema_selectel_dbaas_mysql_database_v1.go @@ -13,5 +13,6 @@ func resourceDBaaSMySQLDatabaseV1Schema() map[string]*schema.Schema { for _, field := range invalidMySQLDatabaseFields { delete(databaseSchema, field) } + return databaseSchema } diff --git a/selectel/schema_selectel_dbaas_mysql_datastore_v1.go b/selectel/schema_selectel_dbaas_mysql_datastore_v1.go index 7953a090..52e5fcb0 100644 --- a/selectel/schema_selectel_dbaas_mysql_datastore_v1.go +++ b/selectel/schema_selectel_dbaas_mysql_datastore_v1.go @@ -12,5 +12,6 @@ func resourceDBaaSMySQLDatastoreV1Schema() map[string]*schema.Schema { for _, field := range invalidMySQLFields { delete(datastoreSchema, field) } + return datastoreSchema } diff --git a/selectel/schema_selectel_dbaas_postgresql_datastore_v1.go b/selectel/schema_selectel_dbaas_postgresql_datastore_v1.go index 5e395ade..54cbd987 100644 --- a/selectel/schema_selectel_dbaas_postgresql_datastore_v1.go +++ b/selectel/schema_selectel_dbaas_postgresql_datastore_v1.go @@ -13,5 +13,6 @@ func resourceDBaaSPostgreSQLDatastoreV1Schema() map[string]*schema.Schema { for _, field := range invalidPostgreSQLFields { delete(datastoreSchema, field) } + return datastoreSchema } diff --git a/selectel/schema_selectel_dbaas_redis_datastore_v1.go b/selectel/schema_selectel_dbaas_redis_datastore_v1.go index ef33bd8a..3d362b3c 100644 --- a/selectel/schema_selectel_dbaas_redis_datastore_v1.go +++ b/selectel/schema_selectel_dbaas_redis_datastore_v1.go @@ -37,5 +37,6 @@ func resourceDBaaSRedisDatastoreV1Schema() map[string]*schema.Schema { Type: schema.TypeString, Required: true, } + return datastoreSchema }