Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for checkIfReady (0.2 sec)

  1. pilot/cmd/pilot-agent/app/wait.go

    				case <-time.After(time.Duration(periodMillis) * time.Millisecond):
    					err = checkIfReady(client, url)
    					if err == nil {
    						log.Infof("Envoy is ready!")
    						return nil
    					}
    					log.Debugf("Not ready yet: %v", err)
    				}
    			}
    		},
    	}
    )
    
    func checkIfReady(client *http.Client, url string) error {
    	req, err := http.NewRequest(http.MethodGet, url, nil)
    	if err != nil {
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue May 23 17:08:31 UTC 2023
    - 2.5K bytes
    - Viewed (0)
Back to top