Skip to content

Commit 4419094

Browse files
committed
review
1 parent afe3400 commit 4419094

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

internal/provider/template_resource.go

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1019,10 +1019,7 @@ func hasOneActiveVersion(data Versions) (hasActiveVersion bool, diags diag.Diagn
10191019
active = true
10201020
}
10211021
}
1022-
if !active {
1023-
return false, diags
1024-
}
1025-
return true, diags
1022+
return active, diags
10261023
}
10271024

10281025
func NewVersionsPlanModifier() planmodifier.List {

0 commit comments

Comments
 (0)