mirror of
https://github.com/Xevion/glance.git
synced 2025-12-13 12:11:52 -06:00
Capitalize console messages
This commit is contained in:
@@ -32,18 +32,18 @@ func Main() int {
|
|||||||
case cliIntentConfigValidate:
|
case cliIntentConfigValidate:
|
||||||
contents, _, err := parseYAMLIncludes(options.configPath)
|
contents, _, err := parseYAMLIncludes(options.configPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("could not parse config file: %v\n", err)
|
fmt.Printf("Could not parse config file: %v\n", err)
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
if _, err := newConfigFromYAML(contents); err != nil {
|
if _, err := newConfigFromYAML(contents); err != nil {
|
||||||
fmt.Printf("config file is invalid: %v\n", err)
|
fmt.Printf("Config file is invalid: %v\n", err)
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
case cliIntentConfigPrint:
|
case cliIntentConfigPrint:
|
||||||
contents, _, err := parseYAMLIncludes(options.configPath)
|
contents, _, err := parseYAMLIncludes(options.configPath)
|
||||||
if err != nil {
|
if err != nil {
|
||||||
fmt.Printf("could not parse config file: %v\n", err)
|
fmt.Printf("Could not parse config file: %v\n", err)
|
||||||
return 1
|
return 1
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user