Browse Source

chg: dev: compatibility with new api for letsencrypt values.

master
Valentin Lab 6 years ago
parent
commit
404820ca52
  1. 2
      bin/check-compose-ovh-credentials

2
bin/check-compose-ovh-credentials

@ -27,7 +27,7 @@ def main(argv):
sys.stderr.write("Error: provide a YAML compose file as first argument.\n") sys.stderr.write("Error: provide a YAML compose file as first argument.\n")
exit(1) exit(1)
ovh_cfg = yml["letsencrypt"]["options"]["ovh"]
ovh_cfg = yml["letsencrypt"]["options"]["env"]["ovh"]
client = ovh.Client( client = ovh.Client(
endpoint=ovh_cfg["entrypoint"], endpoint=ovh_cfg["entrypoint"],
application_key=ovh_cfg["application"]["key"], application_key=ovh_cfg["application"]["key"],

Loading…
Cancel
Save