From f1dfe60be9cfd76d6e513117dbd863be360cfd99 Mon Sep 17 00:00:00 2001 From: "mergify[bot]" <37929162+mergify[bot]@users.noreply.github.com> Date: Wed, 6 Sep 2023 11:57:11 +0200 Subject: [PATCH] fix: typo in comment (backport #17635) (#17638) Co-authored-by: Bryan White Co-authored-by: Marko --- client/config/config.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/config/config.go b/client/config/config.go index f9e48c989d88..672afe4847db 100644 --- a/client/config/config.go +++ b/client/config/config.go @@ -56,7 +56,7 @@ func ReadFromClientConfig(ctx client.Context) (client.Context, error) { configFilePath := filepath.Join(configPath, "client.toml") conf := defaultClientConfig() - // if config.toml file does not exist we create it and write default ClientConfig values into it. + // when client.toml does not exist create and init with default values if _, err := os.Stat(configFilePath); os.IsNotExist(err) { if err := ensureConfigPath(configPath); err != nil { return ctx, fmt.Errorf("couldn't make client config: %v", err)