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: 6 additions & 0 deletions scaleway-async/scaleway_async/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,12 @@ def unmarshal_Pool(data: Any) -> Pool:
else:
args["private_network_id"] = None

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

return Pool(**args)


Expand Down
5 changes: 5 additions & 0 deletions scaleway-async/scaleway_async/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,11 @@ class Pool:
Private network where the nodes are attached. Should be member of the same VPC as the API Server.
"""

error_message: Optional[str] = None
"""
Details of the error, if any occurred when managing the pool.
"""


@dataclass
class NodeMetadataCoreV1Taint:
Expand Down
6 changes: 6 additions & 0 deletions scaleway/scaleway/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -848,6 +848,12 @@ def unmarshal_Pool(data: Any) -> Pool:
else:
args["private_network_id"] = None

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

return Pool(**args)


Expand Down
5 changes: 5 additions & 0 deletions scaleway/scaleway/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1130,6 +1130,11 @@ class Pool:
Private network where the nodes are attached. Should be member of the same VPC as the API Server.
"""

error_message: Optional[str] = None
"""
Details of the error, if any occurred when managing the pool.
"""


@dataclass
class NodeMetadataCoreV1Taint:
Expand Down
Loading