@cryptotaxi247 / CoPilot / commits / 1d22b44a

precommit fixes

Taylor committed Jun 20, 2024 at 13:38 UTC 1d22b44a679d61a5eae1d2650222cca2e6de9847
1 file changed +3 -1
backend/app/integrations/utils/event_shipper.py
+3 -1
@@ -44,6 +44,7 @@ async def event_shipper(message: EventShipperPayload) -> EventShipperPayloadResp
44 message="Successfully sent test message to log shipper.",
45 )
46
47 +
48 async def send_json_test_message_to_event_shipper(message: EventShipperPayload) -> EventShipperPayloadResponse:
49 """
50 Sends a test message to the Graylog Input.
@@ -64,6 +65,7 @@ async def send_json_test_message_to_event_shipper(message: EventShipperPayload)
65 message="Successfully sent test message to log shipper.",
66 )
67
68 +
69 async def verify_event_shipper_healtcheck(attributes: Dict[str, Any]) -> Dict[str, Any]:
70 """
71 Verifies the connection to Graylog Input via a telnet connection.
@@ -87,7 +89,7 @@ async def verify_event_shipper_healtcheck(attributes: Dict[str, Any]) -> Dict[st
89 EventShipperPayload(
90 message="Healthcheck successful",
91 integration="event_shipper",
90 - customer_code='n/a',
92 + customer_code="n/a",
93 ),
94 )
95 return {