From d762e6901531790a0fd4ce8cc0e7519ed9bb4cf8 Mon Sep 17 00:00:00 2001 From: crusader Date: Wed, 15 Nov 2017 19:44:56 +0900 Subject: [PATCH] ing --- api/module/discovery/model/discovery.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/api/module/discovery/model/discovery.go b/api/module/discovery/model/discovery.go index 83c9f11..d103e62 100644 --- a/api/module/discovery/model/discovery.go +++ b/api/module/discovery/model/discovery.go @@ -7,7 +7,7 @@ type DiscoveryZone struct { } type DiscoveryHost struct { - Zone Zone `json:"zone"` + Zone *Zone `json:"zone"` FirstScanRange string `json:"firstScanRange"` LastScanRange string `json:"lastScanRange"` @@ -17,7 +17,7 @@ type DiscoveryHost struct { } type DiscoveryPort struct { - Host Host `json:"host"` + Host *Host `json:"host"` FirstScanRange int `json:"firstScanRange"` LastScanRange int `json:"lastScanRange"` @@ -27,7 +27,7 @@ type DiscoveryPort struct { } type DiscoveryService struct { - Port Port `json:"port"` + Port *Port `json:"port"` IncludeServices []string `json:"includeServices"` }