Skip to content

Commit

Permalink
Ipv4Addr field added to HostRecord struct
Browse files Browse the repository at this point in the history
  • Loading branch information
AjeyHiremath authored and chinmayb committed May 31, 2018
1 parent e0cd7be commit 7a384aa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions objects.go
Original file line number Diff line number Diff line change
Expand Up @@ -398,6 +398,7 @@ func NewHostRecordIpv4Addr(hostAddr HostRecordIpv4Addr) *HostRecordIpv4Addr {
type HostRecord struct {
IBBase `json:"-"`
Ref string `json:"_ref,omitempty"`
Ipv4Addr string `json:"ipv4addr,omitempty"`

This comment has been minimized.

Copy link
@achernevskii

achernevskii Apr 7, 2022

Contributor

What's the purpose of this Ipv4Addr field?

There's no such field as the ipv4addr in the original record:host WAPI schema.

Ipv4Addrs []HostRecordIpv4Addr `json:"ipv4addrs,omitempty"`
Name string `json:"name,omitempty"`
View string `json:"view,omitempty"`
Expand Down

0 comments on commit 7a384aa

Please sign in to comment.