Skip to content

Commit

Permalink
change InterfaceSpec json tags to show nat and vip fields in json output
Browse files Browse the repository at this point in the history
  • Loading branch information
vlorinc authored and guvenc committed Dec 4, 2024
1 parent 4213791 commit a6d0032
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions go/dpservice-go/api/types.go
Original file line number Diff line number Diff line change
Expand Up @@ -330,8 +330,8 @@ type InterfaceSpec struct {
UnderlayRoute *netip.Addr `json:"underlay_route,omitempty"`
VirtualFunction *VirtualFunction `json:"virtual_function,omitempty"`
PXE *PXE `json:"pxe,omitempty"`
Nat *Nat `json:"-"`
VIP *VirtualIP `json:"-"`
Nat *Nat `json:"nat,omitempty"`
VIP *VirtualIP `json:"vip,omitempty"`
Metering *MeteringParams `json:"metering,omitempty"`
}

Expand Down

0 comments on commit a6d0032

Please sign in to comment.