From 2ec6a398c2a6534f075275bfc42545a53b932fdc Mon Sep 17 00:00:00 2001 From: Marcos Lilljedahl Date: Wed, 6 Apr 2022 14:29:36 -0300 Subject: [PATCH] docs: improve comment wording Signed-off-by: Marcos Lilljedahl --- client/client.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/client.go b/client/client.go index 975a9078..f24be978 100644 --- a/client/client.go +++ b/client/client.go @@ -110,8 +110,8 @@ func (c *Client) Do(ctx context.Context, pctx *plancontext.Context, fn DoFunc) e return eg.Wait() } -// detectPlatform will try to automatically Buildkit's target platform. -// If not possible, default platform will be used. +// detectPlatform tries using Buildkit's target platform; +// if not possible, default platform will be used. func (c *Client) detectPlatform(ctx context.Context) (*specs.Platform, error) { w, err := c.c.ListWorkers(ctx) if err != nil {