Skip to content

Commit f604e01

Browse files
authored
Retry worker network connection test (#225)
1 parent 257028f commit f604e01

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

phase/install_workers.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ func (p *InstallWorkers) Run() error {
5656

5757
err := p.hosts.ParallelEach(func(h *cluster.Host) error {
5858
log.Infof("%s: validating api connection to %s", h, url)
59-
if err := h.CheckHTTPStatus(healthz, 200, 401); err != nil {
59+
if err := h.WaitHTTPStatus(healthz, 200, 401); err != nil {
6060
return fmt.Errorf("failed to connect from worker to kubernetes api at %s - check networking", url)
6161
}
6262
return nil

0 commit comments

Comments
 (0)