Skip to content

Commit 5959fd7

Browse files
authored
fix(instance): server get private_networks json tags (#2978)
1 parent 3adee9e commit 5959fd7

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

internal/namespaces/instance/v1/custom_server.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -346,10 +346,10 @@ func serverGetBuilder(c *core.Command) *core.Command {
346346
vpcAPI := vpc.NewAPI(client)
347347

348348
type customNICs struct {
349-
ID string
350-
MacAddress string
351-
PrivateNetworkName string
352-
PrivateNetworkID string
349+
ID string `json:"id"`
350+
MacAddress string `json:"mac_address"`
351+
PrivateNetworkName string `json:"private_network_name"`
352+
PrivateNetworkID string `json:"private_network_id"`
353353
}
354354

355355
nics := []customNICs{}

0 commit comments

Comments
 (0)