From c60309c39b78501374ee3c348073711f8b555531 Mon Sep 17 00:00:00 2001 From: Mohammed Date: Sat, 13 Jul 2024 02:46:52 +0000 Subject: [PATCH] change json field name from ip_addr to ip_address --- pkg/visor/visorconfig/values_darwin.go | 2 +- pkg/visor/visorconfig/values_linux.go | 2 +- pkg/visor/visorconfig/values_windows.go | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pkg/visor/visorconfig/values_darwin.go b/pkg/visor/visorconfig/values_darwin.go index 12c471b213..4101ebe4ff 100644 --- a/pkg/visor/visorconfig/values_darwin.go +++ b/pkg/visor/visorconfig/values_darwin.go @@ -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"` diff --git a/pkg/visor/visorconfig/values_linux.go b/pkg/visor/visorconfig/values_linux.go index 2401d745fb..b693feb768 100644 --- a/pkg/visor/visorconfig/values_linux.go +++ b/pkg/visor/visorconfig/values_linux.go @@ -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"` diff --git a/pkg/visor/visorconfig/values_windows.go b/pkg/visor/visorconfig/values_windows.go index 36f8ce3a3d..a071a03c3d 100644 --- a/pkg/visor/visorconfig/values_windows.go +++ b/pkg/visor/visorconfig/values_windows.go @@ -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"`