Skip to content

Commit

Permalink
fix comment regarding config names
Browse files Browse the repository at this point in the history
  • Loading branch information
petersutter committed Dec 9, 2021
1 parent c951caf commit c6c6342
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/root.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ func initConfig() {

configPath := filepath.Join(home, gardenHomeFolder)

// Search config in $HOME/.garden or in path provided with the env variable GL_HOME with name ".gardenlogin" (without extension) or name from env variable GL_CONFIG_NAME.
// Search config in ~/.garden or in path provided with the env variable GL_HOME with name "gardenlogin" (without extension) or name from env variable GL_CONFIG_NAME.
envHomeDir, err := homedir.Expand(os.Getenv(envGardenHomeDir))
cobra.CheckErr(err)

Expand Down Expand Up @@ -167,7 +167,7 @@ func addGardenctlV2Config() {

configPath := filepath.Join(home, gardenHomeFolder)

// Search config in $HOME/.garden or in path provided with the env variable GCTL_HOME with name ".garden-login" (without extension) or name from env variable GCTL_CONFIG_NAME.
// Search config in ~/.garden or in path provided with the env variable GCTL_HOME with name "gardenctl-v2" (without extension) or name from env variable GCTL_CONFIG_NAME.
envHomeDir, err := homedir.Expand(os.Getenv(envGardenHomeDir))
cobra.CheckErr(err)

Expand Down

0 comments on commit c6c6342

Please sign in to comment.