mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-23 13:59:09 +02:00
[management,signal,proxy,relay,misc] Restore legacy config wiring
This commit is contained in:
@@ -114,7 +114,7 @@ func withAdminConfig(cmd *cobra.Command, applyIDPDefaults bool, fn func(ctx cont
|
||||
}
|
||||
|
||||
func loadAdminMgmtConfig(ctx context.Context, applyIDPDefaults bool) (*nbconfig.Config, string, error) {
|
||||
config, err := loadManagementConfig(nbconfig.MgmtConfigPath)
|
||||
config, err := decodeManagementConfig(nbconfig.MgmtConfigPath, &nbconfig.Config{})
|
||||
if err != nil {
|
||||
return nil, "", err
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user