Clarifies that what failed loading is the CLI configuration as opposed to Terraform TF files
This commit is contained in:
parent
d3a609ac52
commit
fd361c1eb6
4
main.go
4
main.go
|
@ -109,13 +109,13 @@ func wrappedMain() int {
|
|||
|
||||
clicfgFile, err := cliConfigFile()
|
||||
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
|
||||
}
|
||||
|
||||
usrcfg, err := LoadConfig(clicfgFile)
|
||||
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
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue