From 0c65ec1f8651b030b5cc330aa45314b3c5568d0f Mon Sep 17 00:00:00 2001 From: Sivaanand Murugesan Date: Thu, 26 Dec 2024 00:11:11 +0530 Subject: [PATCH] reviewable --- spectrocloud/cluster_common_policies.go | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/spectrocloud/cluster_common_policies.go b/spectrocloud/cluster_common_policies.go index 3dfa5fe7..7b08cdb8 100644 --- a/spectrocloud/cluster_common_policies.go +++ b/spectrocloud/cluster_common_policies.go @@ -87,10 +87,7 @@ func flattenBackupPolicy(policy *models.V1ClusterBackupConfig) []interface{} { } func flattenIncludeResourceMode(m models.V1IncludeClusterResourceMode) bool { - if m == models.V1IncludeClusterResourceMode("Always") { - return true - } - return false + return m == models.V1IncludeClusterResourceMode("Always") } func updateBackupPolicy(c *client.V1Client, d *schema.ResourceData) error {