(v *bool)
| 2021 | } |
| 2022 | |
| 2023 | func sshReachabilityString(v *bool) string { |
| 2024 | if v == nil { |
| 2025 | return "n/a" |
| 2026 | } |
| 2027 | if *v { |
| 2028 | return "reachable" |
| 2029 | } |
| 2030 | return "unreachable" |
| 2031 | } |
| 2032 | |
| 2033 | func firstLine(s string) string { |
| 2034 | lines := strings.Split(strings.TrimSpace(s), "\n") |
no outgoing calls
no test coverage detected