Skip to content

Commit e571341

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent aaa9d53 commit e571341

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

otlp_psqlpy/__init__.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ def _construct_span(
7777
if hosts:
7878
span_attributes[SpanAttributes.SERVER_ADDRESS] = ", ".join(hosts)
7979
span_attributes[SpanAttributes.SERVER_PORT] = ", ".join(
80-
[str(port) for port in ports]
80+
[str(port) for port in ports],
8181
)
8282
span_attributes[SpanAttributes.NETWORK_TRANSPORT] = (
8383
NetTransportValues.IP_TCP.value
@@ -86,7 +86,7 @@ def _construct_span(
8686
elif host_addrs:
8787
span_attributes[SpanAttributes.SERVER_ADDRESS] = ", ".join(host_addrs)
8888
span_attributes[SpanAttributes.SERVER_PORT] = ", ".join(
89-
[str(port) for port in ports]
89+
[str(port) for port in ports],
9090
)
9191
span_attributes[SpanAttributes.NETWORK_TRANSPORT] = (
9292
NetTransportValues.IP_TCP.value

0 commit comments

Comments
 (0)