Skip to content

Commit

Permalink
Renamed url parameter to promiser for consistency
Browse files Browse the repository at this point in the history
Signed-off-by: Ole Herman Schumacher Elgesem <[email protected]>
  • Loading branch information
olehermanse committed Mar 7, 2024
1 parent edca039 commit 1a1c860
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/site-up/site_up.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,8 @@ def validate_promise(self, promiser, attributes, metadata):
if not self.is_url_valid(promiser):
raise ValidationError(f"URL '{promiser}' is invalid")

def evaluate_promise(self, url, attributes, metadata):
def evaluate_promise(self, promiser, attributes, metadata):
url = promiser
ssl_ctx = ssl.create_default_context()
if (
"skip_ssl_verification" in attributes
Expand Down

0 comments on commit 1a1c860

Please sign in to comment.