aboutsummaryrefslogtreecommitdiff
path: root/go/operation/chunked_file.go
diff options
context:
space:
mode:
authortnextday <fw2k4@163.com>2015-12-14 22:01:30 +0800
committertnextday <fw2k4@163.com>2015-12-14 22:01:30 +0800
commitf240c57f16e89a03be9ca583ab25703421e82e1e (patch)
treeebf7951d718c1f72beb5e4c936a4c25e97a4c8c6 /go/operation/chunked_file.go
parent82e6d67ccca361a4841b9e40548c9d0d23981423 (diff)
downloadseaweedfs-f240c57f16e89a03be9ca583ab25703421e82e1e.tar.xz
seaweedfs-f240c57f16e89a03be9ca583ab25703421e82e1e.zip
Rename ChunkManifest.GetData to ChunkManifest.Marshal
Diffstat (limited to 'go/operation/chunked_file.go')
-rw-r--r--go/operation/chunked_file.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/operation/chunked_file.go b/go/operation/chunked_file.go
index f8266087b..cb9ac80df 100644
--- a/go/operation/chunked_file.go
+++ b/go/operation/chunked_file.go
@@ -65,7 +65,7 @@ func LoadChunkManifest(buffer []byte, isGzipped bool) (*ChunkManifest, error) {
return &cm, nil
}
-func (cm *ChunkManifest) GetData() ([]byte, error) {
+func (cm *ChunkManifest) Marshal() ([]byte, error) {
return json.Marshal(cm)
}