From 722b14337eefc69f955a2189c5fc7dff4525eac0 Mon Sep 17 00:00:00 2001 From: Chris Lu Date: Fri, 17 Apr 2020 01:26:27 -0700 Subject: [PATCH] add cipher option to meta data updates --- weed/filer2/filer_notify_append.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/weed/filer2/filer_notify_append.go b/weed/filer2/filer_notify_append.go index 62cfd2cd1..6671cd909 100644 --- a/weed/filer2/filer_notify_append.go +++ b/weed/filer2/filer_notify_append.go @@ -72,7 +72,7 @@ func (f *Filer) assignAndUpload(data []byte) (*operation.AssignResult, *operatio // upload data targetUrl := "http://" + assignResult.Url + "/" + assignResult.Fid - uploadResult, err := operation.UploadData(targetUrl, "", false, data, false, "", nil, assignResult.Auth) + uploadResult, err := operation.UploadData(targetUrl, "", f.Cipher, data, false, "", nil, assignResult.Auth) if err != nil { return nil, nil, fmt.Errorf("upload data %s: %v", targetUrl, err) }