Skip to content

Commit 072a707

Browse files
committed
Fix typo in the NewContainer function documentation
Signed-off-by: Rui Lopes <[email protected]>
1 parent 193bafc commit 072a707

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

client.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -265,8 +265,8 @@ func (c *Client) Containers(ctx context.Context, filters ...string) ([]Container
265265
return out, nil
266266
}
267267

268-
// NewContainer will create a new container in container with the provided id
269-
// the id must be unique within the namespace
268+
// NewContainer will create a new container with the provided id.
269+
// The id must be unique within the namespace.
270270
func (c *Client) NewContainer(ctx context.Context, id string, opts ...NewContainerOpts) (Container, error) {
271271
ctx, done, err := c.WithLease(ctx)
272272
if err != nil {

0 commit comments

Comments
 (0)