From b65ef6017d0f8bc5642f0e9d3053f0db2ae5c405 Mon Sep 17 00:00:00 2001 From: crusader Date: Tue, 5 Jun 2018 19:58:02 +0900 Subject: [PATCH] ing --- model/infra/InfraHost.go | 2 +- model/infra/InfraOS.go | 2 +- model/infra/InfraOSApplication.go | 2 +- model/infra/InfraOSDaemon.go | 2 +- model/infra/InfraOSPort.go | 2 +- model/infra/InfraServiceApplication.go | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/model/infra/InfraHost.go b/model/infra/InfraHost.go index 596c7fb..4db68dd 100644 --- a/model/infra/InfraHost.go +++ b/model/infra/InfraHost.go @@ -6,7 +6,7 @@ import ( type InfraHost struct { Infra - InfraOS *InfraOS `json:"os,omitempty"` + InfraOS *InfraOS `json:"infraOS,omitempty"` IP string `json:"ip,omitempty"` Mac string `json:"mac,omitempty"` CreateDate *util.Timestamp `json:"createDate,omitempty"` diff --git a/model/infra/InfraOS.go b/model/infra/InfraOS.go index 822ce31..a914290 100644 --- a/model/infra/InfraOS.go +++ b/model/infra/InfraOS.go @@ -7,7 +7,7 @@ import ( type InfraOS struct { Infra - InfraMachine *InfraMachine `json:"machine,omitempty"` + InfraMachine *InfraMachine `json:"infraMachine,omitempty"` Meta string `json:"meta,omitempty"` CreateDate *util.Timestamp `json:"createDate,omitempty"` MetaInfraVendor *meta.MetaInfraVendor `json:"metaInfraVendor,omitempty"` diff --git a/model/infra/InfraOSApplication.go b/model/infra/InfraOSApplication.go index 95d0182..0ea8ef1 100644 --- a/model/infra/InfraOSApplication.go +++ b/model/infra/InfraOSApplication.go @@ -4,7 +4,7 @@ import "git.loafle.net/overflow/commons-go/core/util" type InfraOSApplication struct { Infra - InfraOS *InfraOS `json:"os,omitempty"` + InfraOS *InfraOS `json:"infraOS,omitempty"` Name string `json:"name,omitempty"` CreateDate *util.Timestamp `json:"createDate,omitempty"` } diff --git a/model/infra/InfraOSDaemon.go b/model/infra/InfraOSDaemon.go index 20abd35..eae2549 100644 --- a/model/infra/InfraOSDaemon.go +++ b/model/infra/InfraOSDaemon.go @@ -6,7 +6,7 @@ import ( type InfraOSDaemon struct { Infra - InfraOS *InfraOS `json:"os,omitempty"` + InfraOS *InfraOS `json:"infraOS,omitempty"` Name string `json:"name,omitempty"` CreateDate *util.Timestamp `json:"createDate,omitempty"` } diff --git a/model/infra/InfraOSPort.go b/model/infra/InfraOSPort.go index 5410f46..88eeb32 100644 --- a/model/infra/InfraOSPort.go +++ b/model/infra/InfraOSPort.go @@ -9,7 +9,7 @@ import ( type InfraOSPort struct { Infra - InfraOS *InfraOS `json:"os,omitempty"` + InfraOS *InfraOS `json:"infraOS,omitempty"` CreateDate *util.Timestamp `json:"createDate,omitempty"` Port json.Number `json:"port,omitempty"` PortType string `json:"portType,omitempty"` diff --git a/model/infra/InfraServiceApplication.go b/model/infra/InfraServiceApplication.go index 3a0a560..ca15d98 100644 --- a/model/infra/InfraServiceApplication.go +++ b/model/infra/InfraServiceApplication.go @@ -9,7 +9,7 @@ import ( type InfraServiceApplication struct { Infra - InfraHost *InfraHost `json:"host,omitempty"` + InfraHost *InfraHost `json:"infraHost,omitempty"` PortType string `json:"portType,omitempty"` Port json.Number `json:"port,omitempty"` MetaInfraVendor *meta.MetaInfraVendor `json:"metaInfraVendor,omitempty"`