Skip to content

Commit 0303d47

Browse files
docs: Documentation fix for ServerContainer (#671)
Used same wording as for modules/aws/testcontainers/aws/aws_lambda.py
1 parent 82a2e7b commit 0303d47

File tree

1 file changed

+2
-2
lines changed
  • modules/generic/testcontainers/generic

1 file changed

+2
-2
lines changed

modules/generic/testcontainers/generic/server.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,8 +31,8 @@ class ServerContainer(DockerContainer):
3131
... delay = wait_for_logs(srv, "GET / HTTP/1.1")
3232
3333
34-
:param path: Path to the Dockerfile to build the image
35-
:param tag: Tag for the image to be built (default: None)
34+
:param port: Port to be exposed on the container.
35+
:param image: Docker image to be used for the container.
3636
"""
3737

3838
def __init__(self, port: int, image: Union[str, DockerImage]) -> None:

0 commit comments

Comments
 (0)