Skip to content

Commit d3300d9

Browse files
rammanojCopilot
andauthored
Update linode_api4/groups/lke.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e882652 commit d3300d9

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

linode_api4/groups/lke.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -122,9 +122,7 @@ def cluster_create(
122122
if node_pools is None:
123123
node_pools = []
124124

125-
if len(node_pools) == 0 and (
126-
tier is None or tier.lower() != "enterprise"
127-
):
125+
if len(node_pools) == 0 and (tier is None or tier.lower() != "enterprise"):
128126
raise ValueError(
129127
"LKE standard clusters must have at least one node pool."
130128
)

0 commit comments

Comments
 (0)