fix(autotls): private checkedGetPrimaryIPAddr (#1489)

This commit is contained in:
Gabriel Cruz
2025-06-27 12:42:22 +00:00
committed by GitHub
parent 2f9c3fb3e2
commit 3ecb1744ce
2 changed files with 2 additions and 1 deletions

View File

@@ -30,7 +30,7 @@ const
type AutoTLSError* = object of LPError
proc checkedGetPrimaryIPAddr(): IpAddress {.raises: [AutoTLSError].} =
proc checkedGetPrimaryIPAddr*(): IpAddress {.raises: [AutoTLSError].} =
# This is so that we don't need to catch Exceptions directly
# since we support 1.6.16 and getPrimaryIPAddr before nim 2 didn't have explicit .raises. pragmas
try:

View File

@@ -19,6 +19,7 @@ import
autotls/acme/api,
autotls/acme/client,
autotls/manager,
autotls/utils,
multiaddress,
switch,
builders,