|
@ -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"], |
|
|