aboutsummaryrefslogtreecommitdiffstats
path: root/cmd/swarm/upload_test.go
diff options
context:
space:
mode:
authorAnton Evangelatov <anton.evangelatov@gmail.com>2018-11-08 03:39:08 +0800
committerViktor TrĂ³n <viktor.tron@gmail.com>2018-11-08 03:39:08 +0800
commitcf3b187bdef59078ba6570a2f5ee046ab87bcefd (patch)
treefbc16d9216df0d32e745f88cb3ac22e6dab256bf /cmd/swarm/upload_test.go
parent81533deae5ee4a7ec08842e2b6647f3affde5a71 (diff)
downloaddexon-cf3b187bdef59078ba6570a2f5ee046ab87bcefd.tar.gz
dexon-cf3b187bdef59078ba6570a2f5ee046ab87bcefd.tar.zst
dexon-cf3b187bdef59078ba6570a2f5ee046ab87bcefd.zip
swarm, cmd/swarm: address ineffectual assignments (#18048)
* swarm, cmd/swarm: address ineffectual assignments * swarm/network: remove unused vars from testHandshake * swarm/storage/feed: revert cursor changes
Diffstat (limited to 'cmd/swarm/upload_test.go')
-rw-r--r--cmd/swarm/upload_test.go3
1 files changed, 1 insertions, 2 deletions
diff --git a/cmd/swarm/upload_test.go b/cmd/swarm/upload_test.go
index 0ac2456a5..ba4463e8b 100644
--- a/cmd/swarm/upload_test.go
+++ b/cmd/swarm/upload_test.go
@@ -243,8 +243,7 @@ func testCLISwarmUpRecursive(toEncrypt bool, t *testing.T) {
}
defer os.RemoveAll(tmpDownload)
bzzLocator := "bzz:/" + hash
- flagss := []string{}
- flagss = []string{
+ flagss := []string{
"--bzzapi", cluster.Nodes[0].URL,
"down",
"--recursive",