Skip to content

Commit

Permalink
feat(k8s): remove unused field in NodeMetadata (scaleway#804)
Browse files Browse the repository at this point in the history
  • Loading branch information
scaleway-bot authored and Laure-di committed Jan 6, 2025
1 parent 24357fb commit 4074ca5
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 36 deletions.
12 changes: 0 additions & 12 deletions scaleway-async/scaleway_async/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,18 +1023,6 @@ def unmarshal_NodeMetadata(data: Any) -> NodeMetadata:
else None
)

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

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

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

field = data.get("has_gpu", None)
if field is not None:
args["has_gpu"] = field
Expand Down
6 changes: 0 additions & 6 deletions scaleway-async/scaleway_async/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1833,12 +1833,6 @@ class NodeMetadata:

node_taints: List[NodeMetadataCoreV1Taint]

private_network_mode: str

kapsule_iface_mac: str

full_isolation: bool

has_gpu: bool

external_ip: str
Expand Down
12 changes: 0 additions & 12 deletions scaleway/scaleway/k8s/v1/marshalling.py
Original file line number Diff line number Diff line change
Expand Up @@ -1023,18 +1023,6 @@ def unmarshal_NodeMetadata(data: Any) -> NodeMetadata:
else None
)

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

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

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

field = data.get("has_gpu", None)
if field is not None:
args["has_gpu"] = field
Expand Down
6 changes: 0 additions & 6 deletions scaleway/scaleway/k8s/v1/types.py
Original file line number Diff line number Diff line change
Expand Up @@ -1833,12 +1833,6 @@ class NodeMetadata:

node_taints: List[NodeMetadataCoreV1Taint]

private_network_mode: str

kapsule_iface_mac: str

full_isolation: bool

has_gpu: bool

external_ip: str
Expand Down

0 comments on commit 4074ca5

Please sign in to comment.