Skip to content
This repository has been archived by the owner on Nov 9, 2017. It is now read-only.

Commit

Permalink
update env var name
Browse files Browse the repository at this point in the history
  • Loading branch information
sprice committed Jun 2, 2016
1 parent de6e61e commit 8210d37
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app.json
Expand Up @@ -16,7 +16,7 @@
"HEROKU_TOKEN": {
"description": "An heroku access token allowed to write config vars and SSL certificates on ACME_APP_NAME"
},
"SABAYON_WAIT": {
"RESTART_WAIT_TIME": {
"description": "Seconds to wait for ACME_APP_NAME to restart before completing verification. Long restarts will lead to H12 errors for your app but this may be useful to adjust when using preboot.",
"value": "20"
}
Expand Down
2 changes: 1 addition & 1 deletion cmd/sabayon/main.go
Expand Up @@ -24,7 +24,7 @@ func main() {
var email = os.Getenv("ACME_EMAIL")
var token = os.Getenv("HEROKU_TOKEN")
var appName = os.Getenv("ACME_APP_NAME")
wait, _ := strconv.Atoi(os.Getenv("SABAYON_WAIT"))
wait, _ := strconv.Atoi(os.Getenv("RESTART_WAIT_TIME"))
if wait == 0 {
wait = 20
}
Expand Down

0 comments on commit 8210d37

Please sign in to comment.