Skip to content

Commit

Permalink
reviewable
Browse files Browse the repository at this point in the history
  • Loading branch information
SivaanandM committed Dec 25, 2024
1 parent 2743265 commit 0c65ec1
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions spectrocloud/cluster_common_policies.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 0c65ec1

Please sign in to comment.