diff options
| author | Chris Lu <chris.lu@gmail.com> | 2021-05-05 15:11:39 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2021-05-05 15:11:39 -0700 |
| commit | ac71117ee67b0506ecf9fab382d6110e30c50e35 (patch) | |
| tree | c1c79893492f4fb1120e582f40e5779a3761cf24 /weed/command/filer_cat.go | |
| parent | 24efa31e49aea0ff5e0cbdaa1a8cb6267dbcbfed (diff) | |
| download | seaweedfs-ac71117ee67b0506ecf9fab382d6110e30c50e35.tar.xz seaweedfs-ac71117ee67b0506ecf9fab382d6110e30c50e35.zip | |
revert PR #1903 avoid http error: superfluous response.WriteHeader
Diffstat (limited to 'weed/command/filer_cat.go')
| -rw-r--r-- | weed/command/filer_cat.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/command/filer_cat.go b/weed/command/filer_cat.go index c4281feba..a46098b04 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, false) + return filer.StreamContent(&filerCat, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64) }) |
