Skip to content

Commit 3d24745

Browse files
committed
cri_controller.py: typo
1 parent ea4fa86 commit 3d24745

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎cri_lib/cri_controller.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ def blocking_wrapper(
4646
@functools.wraps(async_fn)
4747
def wrapper(*args: P.args, **kwargs: P.kwargs) -> R:
4848
self, *rest = args
49-
return _run_sync(getattr(self, name)(*args, **kwargs))
49+
return _run_sync(getattr(self, name)(*rest, **kwargs))
5050

5151
wrapper.__doc__ = f"Blocking wrapper around :meth:`{async_fn.__qualname__}`."
5252
return wrapper

0 commit comments

Comments
 (0)