fix: typo in comment (#17635)

This commit is contained in:
Bryan White 2023-09-06 11:49:38 +02:00 committed by GitHub
parent a8917b9d73
commit 01b8be0c84
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -46,7 +46,7 @@ func CreateClientConfig(ctx client.Context, customClientTemplate string, customC
configPath := filepath.Join(ctx.HomeDir, "config")
configFilePath := filepath.Join(configPath, "client.toml")
// when config.toml does not exist create and init with default values
// when client.toml does not exist create and init with default values
if _, err := os.Stat(configFilePath); os.IsNotExist(err) {
if err := os.MkdirAll(configPath, os.ModePerm); err != nil {
return ctx, fmt.Errorf("couldn't make client config: %w", err)