diff options
| author | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-26 16:31:45 +0200 |
|---|---|---|
| committer | jwijenbergh <jeroenwijenbergh@protonmail.com> | 2022-04-26 16:31:45 +0200 |
| commit | 39f0e8e26ab37c4b83c1933ba90bae15cd7e04fc (patch) | |
| tree | a1d496c73fa5d2793105151835cb7e06b82c17b8 /cmd/cli/main.go | |
| parent | 5608d9a858c2323002305ea1fedb5793a40edc58 (diff) | |
State: Add a state map to exports instead of a global singleton
Diffstat (limited to 'cmd/cli/main.go')
| -rw-r--r-- | cmd/cli/main.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd/cli/main.go b/cmd/cli/main.go index 1406175..c31716f 100644 --- a/cmd/cli/main.go +++ b/cmd/cli/main.go @@ -34,7 +34,7 @@ func main() { urlString = "https://" + urlString } - state := eduvpn.GetVPNState() + state := &eduvpn.VPNState{} state.Register("org.eduvpn.app.linux", "configs", logState, true) config, configErr := state.Connect(urlString) |
