aboutsummaryrefslogtreecommitdiff
path: root/weed/shell/command_fs_meta_cat.go
diff options
context:
space:
mode:
authorhilimd <68371223+hilimd@users.noreply.github.com>2020-11-22 20:29:17 +0800
committerGitHub <noreply@github.com>2020-11-22 20:29:17 +0800
commit9aa990f80f8af70628c72eaf0c20d445c15b9e9d (patch)
tree2dd4ed5551515b207074bf27908432b0293cd321 /weed/shell/command_fs_meta_cat.go
parente8296104fc715f0f7c41a82059f366603b3e94f0 (diff)
parent92f906b6fcce2ef72661bb825075e2826b8f3aa1 (diff)
downloadseaweedfs-9aa990f80f8af70628c72eaf0c20d445c15b9e9d.tar.xz
seaweedfs-9aa990f80f8af70628c72eaf0c20d445c15b9e9d.zip
Merge pull request #39 from chrislusf/master
sync
Diffstat (limited to 'weed/shell/command_fs_meta_cat.go')
-rw-r--r--weed/shell/command_fs_meta_cat.go5
1 files changed, 3 insertions, 2 deletions
diff --git a/weed/shell/command_fs_meta_cat.go b/weed/shell/command_fs_meta_cat.go
index a097a3a4e..e0525defa 100644
--- a/weed/shell/command_fs_meta_cat.go
+++ b/weed/shell/command_fs_meta_cat.go
@@ -72,8 +72,9 @@ func (c *commandFsMetaCat) Do(args []string, commandEnv *CommandEnv, writer io.W
bytes, _ := proto.Marshal(respLookupEntry.Entry)
gzippedBytes, _ := util.GzipData(bytes)
- zstdBytes, _ := util.ZstdData(bytes)
- fmt.Fprintf(writer, "chunks %d meta size: %d gzip:%d zstd:%d\n", len(respLookupEntry.Entry.Chunks), len(bytes), len(gzippedBytes), len(zstdBytes))
+ // zstdBytes, _ := util.ZstdData(bytes)
+ // fmt.Fprintf(writer, "chunks %d meta size: %d gzip:%d zstd:%d\n", len(respLookupEntry.Entry.Chunks), len(bytes), len(gzippedBytes), len(zstdBytes))
+ fmt.Fprintf(writer, "chunks %d meta size: %d gzip:%d\n", len(respLookupEntry.Entry.Chunks), len(bytes), len(gzippedBytes))
return nil