aboutsummaryrefslogtreecommitdiff
path: root/weed/command/benchmark.go
diff options
context:
space:
mode:
authorhilimd <68371223+hilimd@users.noreply.github.com>2020-10-14 16:39:45 +0800
committerGitHub <noreply@github.com>2020-10-14 16:39:45 +0800
commita91137579857a3ef40725dccda85f40d0ac77223 (patch)
treeab389cfefe7796600aeaca14773992daf7746752 /weed/command/benchmark.go
parent2ff727a32d6d879a49ff5848b592518c96bb6403 (diff)
parent1069b325dd92b6a1b16a20290acc8129d5e19ef8 (diff)
downloadseaweedfs-a91137579857a3ef40725dccda85f40d0ac77223.tar.xz
seaweedfs-a91137579857a3ef40725dccda85f40d0ac77223.zip
Merge pull request #26 from chrislusf/master
sync
Diffstat (limited to 'weed/command/benchmark.go')
-rw-r--r--weed/command/benchmark.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/benchmark.go b/weed/command/benchmark.go
index 8bb585d91..e241a904e 100644
--- a/weed/command/benchmark.go
+++ b/weed/command/benchmark.go
@@ -290,7 +290,7 @@ func readFiles(fileIdLineChan chan string, s *stat) {
}
var bytes []byte
for _, url := range urls {
- bytes, err = util.Get(url)
+ bytes, _, err = util.Get(url)
if err == nil {
break
}