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/shell/command_fs_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/shell/command_fs_cat.go')
| -rw-r--r-- | weed/shell/command_fs_cat.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/weed/shell/command_fs_cat.go b/weed/shell/command_fs_cat.go index df43d93dc..3c5e13663 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, false) + return filer.StreamContent(commandEnv.MasterClient, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64) }) |
