Tidying error handling and adding some fluff.
This commit is contained in:
@@ -119,7 +119,7 @@ func (c *Configuration) setConfigValue(key, value string) {
|
||||
|
||||
// Provides a method to print the configuration struct. Only when the DEBUG env is set to true
|
||||
func (c *Configuration) PrintConfig() {
|
||||
if os.Getenv("DEBUG") == "true" {
|
||||
if os.Getenv("debug") == "true" {
|
||||
fmt.Println("Configuration:")
|
||||
fmt.Println("VstpOn: ", c.VstpOn)
|
||||
fmt.Println("NrodUser: ", c.NrodUser)
|
||||
|
||||
Reference in New Issue
Block a user