aboutsummaryrefslogtreecommitdiff
path: root/weed/shell
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/shell
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/shell')
-rw-r--r--weed/shell/command_fs_cat.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_cat.go b/weed/shell/command_fs_cat.go
index 3c5e13663..df43d93dc 100644
--- a/weed/shell/command_fs_cat.go
+++ b/weed/shell/command_fs_cat.go
@@ -52,7 +52,7 @@ func (c *commandFsCat) Do(args []string, commandEnv *CommandEnv, writer io.Write
return err
}
- return filer.StreamContent(commandEnv.MasterClient, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64)
+ return filer.StreamContent(commandEnv.MasterClient, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64, false)
})