Skip to content

Commit

Permalink
Fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
vikigenius committed Nov 24, 2024
1 parent 27a155e commit de7594d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion litestar/contrib/opentelemetry/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ def _pop_otel_middleware(middlewares: list[Middleware]) -> tuple[list[Middleware
for middleware in middlewares:
if (
isinstance(middleware, DefineMiddleware)
and isintance(middleware.middleware, type)
and isinstance(middleware.middleware, type)
and issubclass(middleware.middleware, OpenTelemetryInstrumentationMiddleware)
):
otel_middleware = middleware
Expand Down

0 comments on commit de7594d

Please sign in to comment.