return nil directly

Signed-off-by: Jan Larwig <jan@larwig.com>
This commit is contained in:
Jan Larwig 2025-08-19 14:43:32 +02:00
parent 7e070d1dee
commit 3a52960871
No known key found for this signature in database
GPG Key ID: C2172BFA220A037A
1 changed files with 2 additions and 1 deletions

View File

@ -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