aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_cat.go
diff options
context:
space:
mode:
authorChris Lu <chris.lu@gmail.com>2020-03-22 01:37:46 -0700
committerChris Lu <chris.lu@gmail.com>2020-03-22 01:37:46 -0700
commitae2ee379c065f97f4661db926e1e14808940b607 (patch)
treeb2f264f466f72b264f64853aab249ea1421d0e24 /weed/shell/command_fs_cat.go
parent2bdd936fb6adbea465d28b0d6cb9009e1c5d4ab7 (diff)
downloadseaweedfs-ae2ee379c065f97f4661db926e1e14808940b607.tar.xz
seaweedfs-ae2ee379c065f97f4661db926e1e14808940b607.zip
consistent 64bit size
Diffstat (limited to 'weed/shell/command_fs_cat.go')
-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 3db487979..7d2ac8989 100644
--- a/weed/shell/command_fs_cat.go
+++ b/weed/shell/command_fs_cat.go
@@ -54,7 +54,7 @@ func (c *commandFsCat) Do(args []string, commandEnv *CommandEnv, writer io.Write
return err
}
- return filer2.StreamContent(commandEnv.MasterClient, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt32)
+ return filer2.StreamContent(commandEnv.MasterClient, writer, respLookupEntry.Entry.Chunks, 0, math.MaxInt64)
})