Skip to content

Commit

Permalink
Merge pull request #71 from HewlettPackard/fix_net_interface
Browse files Browse the repository at this point in the history
Make NetworkInterfaceTypeID as jsonNumber
  • Loading branch information
manjunath-batakurki authored Mar 25, 2024
2 parents 1ec3f0d + 3782987 commit 0970a67
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/models/instances.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// (C) Copyright 2021-2023 Hewlett Packard Enterprise Development LP
// (C) Copyright 2021-2024 Hewlett Packard Enterprise Development LP

package models

Expand Down Expand Up @@ -265,7 +265,7 @@ type GetInstanceResponseInstanceInstanceType struct {
type GetInstanceResponseInstanceInterfaces struct {
ID interface{} `json:"id,omitempty"`
Network *GetInstanceResponseInstanceNetwork `json:"network,omitempty"`
NetworkInterfaceTypeID int `json:"networkInterfaceTypeId,omitempty"`
NetworkInterfaceTypeID json.Number `json:"networkInterfaceTypeId,omitempty"`
}

// GetInstanceResponseInstanceLayout
Expand Down

0 comments on commit 0970a67

Please sign in to comment.