Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
Jess Frazelle 2018-07-05 17:33:35 -04:00
parent b8c95ce521
commit f1360a2bf0
No known key found for this signature in database
GPG Key ID: C0B444E6A3EFD4C1

View File

@ -82,7 +82,7 @@ func main() {
}
fmt.Printf("%s:%d\t%s\t%s\t%s\n",
ip, port,
info.Organization.Handle, info.Organization.Name, info.Organization.Reference)
info.Net.Organization.Handle, info.Net.Organization.Name, info.Net.Organization.Reference)
}
}(ip.String())
}
@ -153,6 +153,10 @@ func isKubernetesDashboard(ip string, port int) bool {
}
type ARINResponse struct {
Net NetJSON `json:"net,omitempty"`
}
type NetJSON struct {
Organization OrganizationJSON `json:"orgReg,omitempty"`
}