Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions scaleway-async/scaleway_async/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,11 @@ def unmarshal_Cluster(data: Any) -> Cluster:
else:
args["sbs_csi_enabled"] = None

field = data.get("full_vpc_integraton_enabled", None)
field = data.get("acl_available", None)
if field is not None:
args["full_vpc_integraton_enabled"] = field
args["acl_available"] = field
else:
args["full_vpc_integraton_enabled"] = None
args["acl_available"] = None

return Cluster(**args)

Expand Down
4 changes: 2 additions & 2 deletions scaleway-async/scaleway_async/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,9 +903,9 @@ class Cluster:
Defines whether the SBS-enabled CSI starting from v0.3 is installed on the cluster.
"""

full_vpc_integraton_enabled: Optional[bool]
acl_available: Optional[bool]
"""
Defines whether VPC is fully integrated on the cluster.
Defines whether ACL is available on the cluster.
"""


Expand Down
6 changes: 3 additions & 3 deletions scaleway/scaleway/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -500,11 +500,11 @@ def unmarshal_Cluster(data: Any) -> Cluster:
else:
args["sbs_csi_enabled"] = None

field = data.get("full_vpc_integraton_enabled", None)
field = data.get("acl_available", None)
if field is not None:
args["full_vpc_integraton_enabled"] = field
args["acl_available"] = field
else:
args["full_vpc_integraton_enabled"] = None
args["acl_available"] = None

return Cluster(**args)

Expand Down
4 changes: 2 additions & 2 deletions scaleway/scaleway/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -903,9 +903,9 @@ class Cluster:
Defines whether the SBS-enabled CSI starting from v0.3 is installed on the cluster.
"""

full_vpc_integraton_enabled: Optional[bool]
acl_available: Optional[bool]
"""
Defines whether VPC is fully integrated on the cluster.
Defines whether ACL is available on the cluster.
"""


Expand Down
Loading