From 3a529608711f11f0da30dbad73a26107b7629eeb Mon Sep 17 00:00:00 2001 From: Jan Larwig Date: Tue, 19 Aug 2025 14:43:32 +0200 Subject: [PATCH] return nil directly Signed-off-by: Jan Larwig --- main.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main.go b/main.go index 7142ae0b..1525e94c 100644 --- a/main.go +++ b/main.go @@ -77,7 +77,8 @@ func loadConfiguration(config, yamlConfig string, extraFlags *pflag.FlagSet, arg logger.Printf("WARNING: You are using alpha configuration. The structure in this configuration file may change without notice. You MUST remove conflicting options from your existing configuration.") return loadYamlOptions(yamlConfig, config, extraFlags, args) } - return opts, err + + return opts, nil } // loadLegacyOptions loads the old toml options using the legacy flagset