Skip to content

Commit b8e6d7b

Browse files
committed
fix: Capture cluster_id correctly for LKENodePools
Closes #203
1 parent 55a804d commit b8e6d7b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

linode_api4/objects/lke.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,14 +36,15 @@ def __init__(self, client, json):
3636
#: The Status of this Node Pool Node
3737
self.status = json.get("status")
3838

39+
3940
class LKENodePool(DerivedBase):
4041
"""
4142
An LKE Node Pool describes a pool of Linode Instances that exist within an
4243
LKE Cluster.
4344
"""
4445
api_endpoint = "/lke/clusters/{cluster_id}/pools/{id}"
4546
derived_url_path = 'pools'
46-
parent_id = "linode_id"
47+
parent_id_name = "cluster_id"
4748

4849
properties = {
4950
"id": Property(identifier=True),

0 commit comments

Comments
 (0)