fix: unable to set log level from nixos module
1 file changed, 3 insertions(+), 5 deletions(-)
changed files
M internal/config/structs.go → internal/config/structs.go
@@ -9,14 +9,12 @@ "path/filepath" "strings" "github.com/creasty/defaults" - "go.uber.org/zap/zapcore" ) type Config struct { - DataPath string `comment:"Path to store index data."` - LogLevel zapcore.Level `comment:"How much information to log, one of 'debug', 'info', 'warn', 'error', 'panic', 'fatal'."` - Web *Web `comment:"Settings for the web server"` - Importer *Importer `comment:"Settings for the import job"` + DataPath string `comment:"Path to store index data."` + Web *Web `comment:"Settings for the web server"` + Importer *Importer `comment:"Settings for the import job"` } type Web struct {