mirror of
https://github.com/go-acme/lego
synced 2026-03-14 14:35:48 +01:00
gcloud: fix for wildcard (#740)
This commit is contained in:
parent
cb3c4c7937
commit
820c2b7531
9 changed files with 99 additions and 26 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue