Skip to content

Commit

Permalink
fix: rename incorrect property of StartupArgs
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Izquierdo committed Oct 16, 2023
1 parent bddc7ca commit 2b44de6
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible_rulebook/websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ async def request_workload(
if data.get("type") == "ControllerInfo":
response.controller_url = data.get("url")
response.controller_token = data.get("token")
response.controller_verify_ssl = data.get("ssl_verify")
response.controller_ssl_verify = data.get("ssl_verify")
return response
except CancelledError:
logger.info("closing websocket due to task cancelled")
Expand Down
2 changes: 1 addition & 1 deletion tests/test_websocket.py
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ async def test_request_workload():
assert sha1 == sha2
assert response.controller_url == controller_url
assert response.controller_token == controller_token
assert response.controller_verify_ssl == controller_ssl_verify
assert response.controller_ssl_verify == controller_ssl_verify
assert response.rulesets[0].name == "Demo rules"
assert len(response.rulesets[0].rules) == 6

Expand Down

0 comments on commit 2b44de6

Please sign in to comment.