feat(updater): UPDATER_VPN_SERVICE_PROVIDERS

- Updater defaults to update the VPN provider in use if enabled
This commit is contained in:
Quentin McGaw
2022-01-26 22:40:57 +00:00
parent bcf9bfa5d3
commit 1e3f878470
4 changed files with 8 additions and 12 deletions

View File

@@ -78,7 +78,7 @@ func (c *CLI) Update(ctx context.Context, args []string, logger UpdaterLogger) e
options.Providers = strings.Split(csvProviders, ",")
}
options.SetDefaults()
options.SetDefaults(options.Providers[0])
err := options.Validate()
if err != nil {