Skip to content

Commit ad6d8eb

Browse files
scaleway-botquantumsheepremyleone
authored
chore(k8s): deprecate node ip fields (#1445)
Co-authored-by: Nathanael Demacon <nathanael.dmc@outlook.fr> Co-authored-by: Rémy Léone <rleone@scaleway.com>
1 parent 0b7341d commit ad6d8eb

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

api/k8s/v1/k8s_sdk.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -913,10 +913,10 @@ type Node struct {
913913
Region scw.Region `json:"region"`
914914
// Name: the name of the node
915915
Name string `json:"name"`
916-
// PublicIPV4: the public IPv4 address of the node
917-
PublicIPV4 *net.IP `json:"public_ip_v4"`
918-
// PublicIPV6: the public IPv6 address of the node
919-
PublicIPV6 *net.IP `json:"public_ip_v6"`
916+
// Deprecated: PublicIPV4: the public IPv4 address of the node
917+
PublicIPV4 *net.IP `json:"public_ip_v4,omitempty"`
918+
// Deprecated: PublicIPV6: the public IPv6 address of the node
919+
PublicIPV6 *net.IP `json:"public_ip_v6,omitempty"`
920920
// Deprecated: Conditions: the conditions of the node
921921
//
922922
// These conditions contains the Node Problem Detector conditions, as well as some in house conditions.

0 commit comments

Comments
 (0)