Skip to content

Commit

Permalink
Return DNS plugin not supported error
Browse files Browse the repository at this point in the history
  • Loading branch information
leeclemens committed Dec 22, 2023
1 parent fbb6728 commit d5b301c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion salt/modules/acme.py
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ def cert(
cmd.append("--authenticator webroot")
if webroot is not True:
cmd.append(f"--webroot-path {webroot}")
elif dns_plugin in supported_dns_plugins:
elif dns_plugin:
if dns_plugin == "cloudflare":
cmd.append("--dns-cloudflare")
cmd.append(f"--dns-cloudflare-credentials {dns_plugin_credentials}")
Expand Down

0 comments on commit d5b301c

Please sign in to comment.