Skip to content

Commit

Permalink
Update transit.py
Browse files Browse the repository at this point in the history
removed redundant format_url
  • Loading branch information
michaelkosir committed Apr 13, 2024
1 parent c9cc881 commit cc7a55b
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion hvac/api/secrets_engines/transit.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,7 +636,6 @@ def generate_random_bytes(
else:
api_path = utils.format_url("/v1/{mount_point}/random/{source}", mount_point=mount_point, source=source)

api_path = utils.format_url(api_path)
return self._adapter.post(
url=api_path,
json=params,
Expand Down

0 comments on commit cc7a55b

Please sign in to comment.