fix: ensure client connections work

This commit is contained in:
decentral1se 2021-10-25 23:48:19 +02:00
parent 4d2a2d42fb
commit 1d7cb0d9b6
No known key found for this signature in database
GPG Key ID: 5E2EF5A63E3718CC
1 changed files with 5 additions and 0 deletions

View File

@ -432,6 +432,11 @@ You may omit flags to avoid performing this provisioning logic.
}
}
if _, err := cl.Info(c.Context); err != nil {
cleanUp(domainName)
logrus.Fatalf("couldn't make a remote docker connection to %s?", domainName)
}
if traefik {
if err := deployTraefik(c, cl, domainName); err != nil {
logrus.Fatal(err)