Skip to content
Snippets Groups Projects
Unverified Commit f08ef649 authored by Erik Johnston's avatar Erik Johnston Committed by GitHub
Browse files

Enforce all replication HTTP clients calls use kwargs (#9144)

parent 2b467d0b
No related branches found
No related tags found
No related merge requests found
Enforce that replication HTTP clients are called with keyword arguments only.
......@@ -177,7 +177,7 @@ class ReplicationEndpoint(metaclass=abc.ABCMeta):
@trace(opname="outgoing_replication_request")
@outgoing_gauge.track_inprogress()
async def send_request(instance_name="master", **kwargs):
async def send_request(*, instance_name="master", **kwargs):
if instance_name == local_instance_name:
raise Exception("Trying to send HTTP request to self")
if instance_name == "master":
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment