Skip to content

Commit 52a2356

Browse files
Sync port forward wrapping should call async_run_forever (#567)
1 parent 2adf015 commit 52a2356

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

kr8s/portforward.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __exit__(self, *args, **kwargs):
2828
return run_sync(self.__aexit__)(*args, **kwargs)
2929

3030
def run_forever(self):
31-
return run_sync(self.run_forever)() # type: ignore
31+
return run_sync(self.async_run_forever)() # type: ignore
3232

3333
def start(self):
3434
"""Start a background thread with the port forward running."""

0 commit comments

Comments
 (0)