mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-13 00:49:07 +02:00
[management,signal,proxy,relay,misc] Restore legacy config wiring
This commit is contained in:
+5
-4
@@ -250,10 +250,11 @@ func execute(cmd *cobra.Command, args []string) error {
|
||||
|
||||
func loadConfig(cmd *cobra.Command) (*Config, error) {
|
||||
return configloader.Load(configPath, defaultConfig(), configloader.Options{
|
||||
TagName: "yaml",
|
||||
AllowMissing: configPath == "",
|
||||
FlagSet: cmd.Flags(),
|
||||
Strict: true,
|
||||
TagName: "yaml",
|
||||
AllowMissing: configPath == "",
|
||||
FlagSet: cmd.Flags(),
|
||||
Strict: true,
|
||||
InvalidEnvironment: configloader.InvalidEnvironmentUsePartial,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user