fix: typo in comment (backport #17635) (#17636)

Co-authored-by: Bryan White <bryanchriswhite@gmail.com>
This commit is contained in:
mergify[bot] 2023-09-06 11:58:43 +02:00 committed by GitHub
parent 1ee1b4c8cd
commit 59f8183aec
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -52,7 +52,7 @@ func ReadFromClientConfig(ctx client.Context) (client.Context, error) {
configFilePath := filepath.Join(configPath, "client.toml")
conf := DefaultConfig()
// 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: %v", err)