(dryRun bool)
| 1480 | } |
| 1481 | |
| 1482 | func directBootstrapAttemptTimeout(dryRun bool) time.Duration { |
| 1483 | if dryRun { |
| 1484 | return 15 * time.Second |
| 1485 | } |
| 1486 | |
| 1487 | return 45 * time.Second |
| 1488 | } |
| 1489 | |
| 1490 | func checkSSHPortReachable(target string, timeout time.Duration) bool { |
| 1491 | if strings.TrimSpace(target) == "" { |
no outgoing calls
no test coverage detected