summaryrefslogtreecommitdiff
path: root/pkg/backend/actions.go
diff options
context:
space:
mode:
authorRuben Pollan <meskio@sindominio.net>2021-03-24 12:47:02 +0100
committerkali kaneko (leap communications) <kali@leap.se>2021-05-04 14:58:39 +0200
commit4e1f3a4f88136e497962e4f976d5c7f216c31a15 (patch)
tree86fd6aea30aca3753b5be785eb684cbb3d205e6b /pkg/backend/actions.go
parentb14d048e6089233f5c698426652e85bfa1d89488 (diff)
Let's rename the API to use location instead of gateway
Diffstat (limited to 'pkg/backend/actions.go')
-rw-r--r--pkg/backend/actions.go8
1 files changed, 0 insertions, 8 deletions
diff --git a/pkg/backend/actions.go b/pkg/backend/actions.go
index 6e143f9..1860b09 100644
--- a/pkg/backend/actions.go
+++ b/pkg/backend/actions.go
@@ -20,14 +20,6 @@ func stopVPN() {
}
}
-// TODO return bool?
-func useGateway(label string) {
- err := ctx.bm.UseGateway(label)
- if err != nil {
- log.Println(err)
- }
-}
-
func getGateway() string {
return ctx.bm.GetCurrentGateway()
}