aboutsummaryrefslogtreecommitdiffstats
path: root/swarm/api/client
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2018-12-24 00:31:32 +0800
committerGitHub <noreply@github.com>2018-12-24 00:31:32 +0800
commit9e9fc87e70accf2b81be8772ab2ab0c914e95666 (patch)
tree410ccdefb083b08796a14ac03653a5319e9895d7 /swarm/api/client
parent335760bf0674ee553f3ca65afd6f29b6557d1b55 (diff)
downloaddexon-9e9fc87e70accf2b81be8772ab2ab0c914e95666.tar
dexon-9e9fc87e70accf2b81be8772ab2ab0c914e95666.tar.gz
dexon-9e9fc87e70accf2b81be8772ab2ab0c914e95666.tar.bz2
dexon-9e9fc87e70accf2b81be8772ab2ab0c914e95666.tar.lz
dexon-9e9fc87e70accf2b81be8772ab2ab0c914e95666.tar.xz
dexon-9e9fc87e70accf2b81be8772ab2ab0c914e95666.tar.zst
dexon-9e9fc87e70accf2b81be8772ab2ab0c914e95666.zip
swarm: remove unused/dead code (#18351)
Diffstat (limited to 'swarm/api/client')
-rw-r--r--swarm/api/client/client.go5
1 files changed, 0 insertions, 5 deletions
diff --git a/swarm/api/client/client.go b/swarm/api/client/client.go
index f793ca8b8..5e293cca7 100644
--- a/swarm/api/client/client.go
+++ b/swarm/api/client/client.go
@@ -46,11 +46,6 @@ import (
)
var (
- DefaultGateway = "http://localhost:8500"
- DefaultClient = NewClient(DefaultGateway)
-)
-
-var (
ErrUnauthorized = errors.New("unauthorized")
)