Skip to content

Commit

Permalink
fix: typo in comment (backport #17635) (#17637)
Browse files Browse the repository at this point in the history
Co-authored-by: Bryan White <bryanchriswhite@gmail.com>
Co-authored-by: Julien Robert <julien@rbrt.fr>
  • Loading branch information
3 people committed Sep 6, 2023
1 parent ceb1b9d commit 1dfa761
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/config/config.go
Original file line number Diff line number Diff line change
Expand Up @@ -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.
// if client.toml file does not exist we create it and write default ClientConfig values into it.
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)
Expand Down

0 comments on commit 1dfa761

Please sign in to comment.