Update cfger.go

This commit is contained in:
akp 2024-06-18 21:28:40 +01:00
parent 849910d35b
commit 6a860deb4e
No known key found for this signature in database
GPG key ID: CF8D58F3DEB20755

View file

@ -94,7 +94,7 @@ func (cl *ConfigLoader) Get(key string) OptionalItem {
func (cl *ConfigLoader) Required(key string) OptionalItem {
opt := cl.Get(key)
if !opt.found {
FatalErrorHandler(fmt.Errorf("Required key %s not found in config file", key))
FatalErrorHandler(fmt.Errorf("required key %s not found in config file", key))
os.Exit(1)
}
return opt