summaryrefslogtreecommitdiff
path: root/pkg/backend/actions.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/backend/actions.go')
-rw-r--r--pkg/backend/actions.go5
1 files changed, 2 insertions, 3 deletions
diff --git a/pkg/backend/actions.go b/pkg/backend/actions.go
index 1860b09..9e0941b 100644
--- a/pkg/backend/actions.go
+++ b/pkg/backend/actions.go
@@ -24,9 +24,8 @@ func getGateway() string {
return ctx.bm.GetCurrentGateway()
}
-// TODO return bool?
-func useTransport(transport string) {
- err := ctx.bm.UseTransport(transport)
+func setTransport(t string) {
+ err := ctx.bm.SetTransport(t)
if err != nil {
log.Println(err)
}