Skip to content

Commit c259334

Browse files
authored
Merge pull request #1281 from jichenjc/bug/1280
switch version from float to int
2 parents 2340869 + 161a19f commit c259334

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/cloud/services/compute/instance_types.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,9 +69,9 @@ func NewInstanceStatusFromServer(server *clients.ServerExt, logger logr.Logger)
6969
}
7070

7171
type networkInterface struct {
72-
Address string `json:"addr"`
73-
Version float64 `json:"version"`
74-
Type string `json:"OS-EXT-IPS:type"`
72+
Address string `json:"addr"`
73+
Version int `json:"version"`
74+
Type string `json:"OS-EXT-IPS:type"`
7575
}
7676

7777
// InstanceNetworkStatus represents the network status of an OpenStack instance

0 commit comments

Comments
 (0)