Skip to content

Commit

Permalink
change json field name from ip_addr to ip_address
Browse files Browse the repository at this point in the history
  • Loading branch information
mrpalide committed Jul 13, 2024
1 parent 3c4c8e5 commit c60309c
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pkg/visor/visorconfig/values_darwin.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Survey struct {
SkycoinAddress string `json:"skycoin_address,omitempty"`
GOOS string `json:"go_os,omitempty"`
GOARCH string `json:"go_arch,omitempty"`
IPAddr string `json:"ip_addr,omitempty"`
IPAddr string `json:"ip_address,omitempty"`
Disks *ghw.BlockInfo `json:"ghw_blockinfo,omitempty"`
UUID uuid.UUID `json:"uuid,omitempty"`
SkywireVersion string `json:"skywire_version,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/visor/visorconfig/values_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ type Survey struct {
GOOS string `json:"go_os,omitempty"`
GOARCH string `json:"go_arch,omitempty"`
SYSINFO sysinfo.SysInfo `json:"zcalusic_sysinfo,omitempty"`
IPAddr string `json:"ip_addr,omitempty"`
IPAddr string `json:"ip_address,omitempty"`
Disks *ghw.BlockInfo `json:"ghw_blockinfo,omitempty"`
Product *ghw.ProductInfo `json:"ghw_productinfo,omitempty"`
Memory *ghw.MemoryInfo `json:"ghw_memoryinfo,omitempty"`
Expand Down
2 changes: 1 addition & 1 deletion pkg/visor/visorconfig/values_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ type Survey struct {
SkycoinAddress string `json:"skycoin_address,omitempty"`
GOOS string `json:"go_os,omitempty"`
GOARCH string `json:"go_arch,omitempty"`
IPAddr string `json:"ip_addr,omitempty"`
IPAddr string `json:"ip_address,omitempty"`
Disks *ghw.BlockInfo `json:"ghw_blockinfo,omitempty"`
Product *ghw.ProductInfo `json:"ghw_productinfo,omitempty"`
Memory *ghw.MemoryInfo `json:"ghw_memoryinfo,omitempty"`
Expand Down

0 comments on commit c60309c

Please sign in to comment.