Clarifies that what failed loading is the CLI configuration as opposed to Terraform TF files

This commit is contained in:
Camilo Aguilar 2014-08-14 12:50:19 -04:00
parent d3a609ac52
commit fd361c1eb6
1 changed files with 2 additions and 2 deletions

View File

@ -109,13 +109,13 @@ func wrappedMain() int {
clicfgFile, err := cliConfigFile() clicfgFile, err := cliConfigFile()
if err != nil { if err != nil {
fmt.Fprintf(os.Stderr, "Error loading user configuration: \n\n%s\n", err) fmt.Fprintf(os.Stderr, "Error loading CLI configuration: \n\n%s\n", err)
return 1 return 1
} }
usrcfg, err := LoadConfig(clicfgFile) usrcfg, err := LoadConfig(clicfgFile)
if err != nil { if err != nil {
fmt.Fprintf(os.Stderr, "Error loading user configuration: \n\n%s\n", err) fmt.Fprintf(os.Stderr, "Error loading CLI configuration: \n\n%s\n", err)
return 1 return 1
} }