summaryrefslogtreecommitdiff
path: root/cmd
diff options
context:
space:
mode:
authorJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-08-29 14:05:20 +0200
committerJeroen Wijenbergh <jeroen.wijenbergh@geant.org>2025-08-29 14:40:24 +0200
commit4a23134e1e5d70a9c8c5857790dbf27585ca3b1f (patch)
treec7edff437df88d6d127f8bda0a35d59fc0d3dc68 /cmd
parent5461efc826952833fcdecca5d3daa3ee70423a31 (diff)
Discovery: Add cache argument and embed unmarshal on startup
Diffstat (limited to 'cmd')
-rw-r--r--cmd/eduvpn-cli/main.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd/eduvpn-cli/main.go b/cmd/eduvpn-cli/main.go
index 92c37f5..8c778a6 100644
--- a/cmd/eduvpn-cli/main.go
+++ b/cmd/eduvpn-cli/main.go
@@ -162,11 +162,11 @@ func printConfig(url string, cc string, srvType srvtypes.Type, prof string, debu
_ = c.Register()
ck := cookie.NewWithContext(context.Background())
- _, err = c.DiscoOrganizations(ck, "")
+ _, err = c.DiscoOrganizations(ck, false, "")
if err != nil {
return err
}
- _, err = c.DiscoServers(ck, "")
+ _, err = c.DiscoServers(ck, false, "")
if err != nil {
return err
}