aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_cat.go
diff options
context:
space:
mode:
authorKonstantin Lebedev <lebedev_k@tochka.com>2021-05-20 11:45:21 +0500
committerKonstantin Lebedev <lebedev_k@tochka.com>2021-05-20 11:45:21 +0500
commit03d1199d5f73fdb4302adddc91f5aeea350a13a7 (patch)
tree5998afe74d837e9ddfb42b9a73d8a579d7604f54 /weed/command/filer_cat.go
parent87a32bfef4f9b4c3594d20dac22d0e8cf60db341 (diff)
downloadseaweedfs-03d1199d5f73fdb4302adddc91f5aeea350a13a7.tar.xz
seaweedfs-03d1199d5f73fdb4302adddc91f5aeea350a13a7.zip
Revert "revert PR #1903 avoid http error: superfluous response.WriteHeader"
This reverts commit ac71117e
Diffstat (limited to 'weed/command/filer_cat.go')
-rw-r--r--weed/command/filer_cat.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_cat.go b/weed/command/filer_cat.go
index a46098b04..c4281feba 100644
--- a/weed/command/filer_cat.go
+++ b/weed/command/filer_cat.go
@@ -110,7 +110,7 @@ func runFilerCat(cmd *Command, args []string) bool {
filerCat.filerClient = client
- return filer.StreamContent(&filerCat, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64)
+ return filer.StreamContent(&filerCat, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64, false)
})