From 98e2154636a2b12eede8b26d28e272f2d386b822 Mon Sep 17 00:00:00 2001
From: jensilo <k@jensheise.com>
Date: Sat, 30 Dec 2023 21:53:37 +0100
Subject: [PATCH] allow env overwrite

---
 src/app/eiffel/eiffel.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/app/eiffel/eiffel.go b/src/app/eiffel/eiffel.go
index 087574c..1eb8dd0 100644
--- a/src/app/eiffel/eiffel.go
+++ b/src/app/eiffel/eiffel.go
@@ -3,7 +3,7 @@ package eiffel
 
 // Cfg is EIFFEL's configuration struct. This can be used to unmarshal a TOML configuration file into.
 type Cfg struct {
-	NeglectOptional bool `toml:"neglect_optional"`
+	NeglectOptional bool `toml:"neglect_optional" env:"EIFFEL_NEGLECT_OPTIONAL"`
 }
 
 // TODO add tests for service, web and output
-- 
GitLab