Skip to content

Commit

Permalink
Fix profile implementation.
Browse files Browse the repository at this point in the history
  • Loading branch information
felixfontein committed Jan 12, 2025
1 parent 2419e6c commit 2482505
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions plugins/module_utils/acme/acme.py
Original file line number Diff line number Diff line change
Expand Up @@ -136,6 +136,12 @@ def __init__(self, module, account):
def __getitem__(self, key):
return self.directory[key]

def __contains__(self, key):
return key in self.directory

def get(self, key, default_value=None):
return self.directory.get(key, default_value)

def get_nonce(self, resource=None):
url = self.directory_root if self.version == 1 else self.directory['newNonce']
if resource is not None:
Expand Down

0 comments on commit 2482505

Please sign in to comment.