gcloud: fix for wildcard (#740)

This commit is contained in:
Ludovic Fernandez 2018-12-22 00:53:05 +01:00 committed by GitHub
commit 820c2b7531
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
9 changed files with 99 additions and 26 deletions

View file

@ -141,7 +141,7 @@ func (l *EnvLoader) cmdPebble() (*exec.Cmd, *bytes.Buffer) {
func pebbleHealthCheck(options *CmdOption) {
client := &http.Client{Transport: &http.Transport{TLSClientConfig: &tls.Config{InsecureSkipVerify: true}}}
err := wait.For(10*time.Second, 500*time.Millisecond, func() (bool, error) {
err := wait.For("pebble", 10*time.Second, 500*time.Millisecond, func() (bool, error) {
resp, err := client.Get(options.HealthCheckURL)
if err != nil {
return false, err