From 072a7074b4897aa3b086ce1bae0459eefa13dbd1 Mon Sep 17 00:00:00 2001 From: Rui Lopes Date: Sun, 10 Oct 2021 19:46:55 +0100 Subject: [PATCH] Fix typo in the NewContainer function documentation Signed-off-by: Rui Lopes --- client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client.go b/client.go index 7f9f7a0eb..8773daf49 100644 --- a/client.go +++ b/client.go @@ -265,8 +265,8 @@ func (c *Client) Containers(ctx context.Context, filters ...string) ([]Container return out, nil } -// NewContainer will create a new container in container with the provided id -// the id must be unique within the namespace +// NewContainer will create a new container with the provided id. +// The id must be unique within the namespace. func (c *Client) NewContainer(ctx context.Context, id string, opts ...NewContainerOpts) (Container, error) { ctx, done, err := c.WithLease(ctx) if err != nil {