mirror of
https://github.com/davidallendj/magellan.git
synced 2025-12-20 03:27:03 -07:00
Minor changes and fixes
This commit is contained in:
parent
488e6f8131
commit
118c12fa14
9 changed files with 40 additions and 38 deletions
|
|
@ -17,7 +17,9 @@ var listCmd = &cobra.Command{
|
|||
if err != nil {
|
||||
logrus.Errorf("could not get probe results: %v\n", err)
|
||||
}
|
||||
fmt.Printf("%v\n", probeResults)
|
||||
for _, r := range probeResults {
|
||||
fmt.Printf("%s:%d (%s)\n", r.Host, r.Port, r.Protocol)
|
||||
}
|
||||
},
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue