From d2e07e98a50ff6a5fbc62e95ab6024b4ca79d0b2 Mon Sep 17 00:00:00 2001 From: nhyatt Date: Sat, 22 Feb 2025 16:56:14 -0600 Subject: [PATCH] correct tag name --- internal/config/envconfig.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 }