mirror of
https://github.com/jessfraz/dockerfiles.git
synced 2024-11-23 11:31:49 +01:00
fix json
Signed-off-by: Jess Frazelle <acidburn@microsoft.com>
This commit is contained in:
parent
b8c95ce521
commit
f1360a2bf0
|
@ -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"`
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user