Skip to content

Commit

Permalink
Remove wrong part of the documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
corka149 committed Feb 19, 2024
1 parent a57e810 commit 284459a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 0 additions & 6 deletions python/portforward/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,12 +52,6 @@ def forward(
>>> import portforward
>>> with portforward.forward("test", "web-svc", 9000, 80):
>>> # Do work
>>>
>>> # Or without context manager
>>>
>>> forwarder = portforward.forward("test", "some-pod", 9000, 80)
>>> # Do work
>>> forwarder.stop()
:param namespace: Target namespace
:param pod_or_service: Name of target Pod or service
Expand Down

0 comments on commit 284459a

Please sign in to comment.