aboutsummaryrefslogtreecommitdiff
path: root/go/operation/submit.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/submit.go
parent82e6d67ccca361a4841b9e40548c9d0d23981423 (diff)
downloadseaweedfs-f240c57f16e89a03be9ca583ab25703421e82e1e.tar.xz
seaweedfs-f240c57f16e89a03be9ca583ab25703421e82e1e.zip
Rename ChunkManifest.GetData to ChunkManifest.Marshal
Diffstat (limited to 'go/operation/submit.go')
-rw-r--r--go/operation/submit.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/go/operation/submit.go b/go/operation/submit.go
index ac5a3b55f..d996d63f0 100644
--- a/go/operation/submit.go
+++ b/go/operation/submit.go
@@ -180,7 +180,7 @@ func upload_one_chunk(filename string, reader io.Reader, master,
}
func upload_chunked_file_manifest(fileUrl string, manifest *ChunkManifest, jwt security.EncodedJwt) error {
- buf, e := manifest.GetData()
+ buf, e := manifest.Marshal()
if e != nil {
return e
}