diff options
| author | Jeroen Wijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-19 12:56:57 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-19 12:56:57 +0200 |
| commit | 42d2350e4a5d7a5bfb204bdc0994a0c283208fe7 (patch) | |
| tree | afa65e83d983c7d5c9015cf480f5155e704c278e /src/discovery.go | |
| parent | fb2f57cfcbb6408130e1cc75bd36c896502b78e0 (diff) | |
Config: Only write on deregister
Diffstat (limited to 'src/discovery.go')
| -rw-r--r-- | src/discovery.go | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/discovery.go b/src/discovery.go index e88d74e..4498779 100644 --- a/src/discovery.go +++ b/src/discovery.go @@ -107,7 +107,6 @@ func (eduvpn *VPNState) GetOrganizationsList() (string, error) { } eduvpn.EnsureDisco() eduvpn.DiscoList.Organizations = &body - eduvpn.WriteConfig() return body, nil } @@ -123,6 +122,5 @@ func (eduvpn *VPNState) GetServersList() (string, error) { } eduvpn.EnsureDisco() eduvpn.DiscoList.Servers = &body - eduvpn.WriteConfig() return body, nil } |
