From 0d83cf9f8bedac4060cc6edf3bfe91f5ee307d7e Mon Sep 17 00:00:00 2001 From: "belokobylskii.i" Date: Fri, 6 Dec 2024 17:37:07 +0300 Subject: [PATCH] fix lint --- selectel/resource_selectel_mks_cluster_v1.go | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/selectel/resource_selectel_mks_cluster_v1.go b/selectel/resource_selectel_mks_cluster_v1.go index 4914ab7d..3c5dd2be 100644 --- a/selectel/resource_selectel_mks_cluster_v1.go +++ b/selectel/resource_selectel_mks_cluster_v1.go @@ -180,18 +180,18 @@ func resourceMKSClusterV1() *schema.Resource { Type: schema.TypeString, Optional: true, Default: "", - DiffSuppressFunc: func(_, old, new string, _ *schema.ResourceData) bool { + DiffSuppressFunc: func(_, oldVersion, newVersion string, _ *schema.ResourceData) bool { // Ignore diff on default value from API. - return old == "sub" && new == "" + return oldVersion == "sub" && newVersion == "" }, }, "groups_claim": { Type: schema.TypeString, Optional: true, Default: "", - DiffSuppressFunc: func(_, old, new string, _ *schema.ResourceData) bool { + DiffSuppressFunc: func(_, oldVersion, newVersion string, _ *schema.ResourceData) bool { // Ignore diff on default value from API. - return old == "groups" && new == "" + return oldVersion == "groups" && newVersion == "" }, }, },