diff --git a/internal/config/envconfig.go b/internal/config/envconfig.go index 0df3a3a..d5414e6 100644 --- a/internal/config/envconfig.go +++ b/internal/config/envconfig.go @@ -130,7 +130,7 @@ func getAlt(ftype reflect.StructField) string { func getDefault(ftype reflect.StructField) interface{} { if ftype.Tag.Get("default") != "" { - v, err := typeConversion(ftype.Type.String(), ftype.Tag.Get("Default")) + v, err := typeConversion(ftype.Type.String(), ftype.Tag.Get("default")) if err != nil { return nil }