diff options
| author | Chris Lu <chris.lu@gmail.com> | 2020-04-17 01:26:27 -0700 |
|---|---|---|
| committer | Chris Lu <chris.lu@gmail.com> | 2020-04-17 01:26:27 -0700 |
| commit | 722b14337eefc69f955a2189c5fc7dff4525eac0 (patch) | |
| tree | ec40bd9a9d244001fb5f7dd5a432a531914d14f4 | |
| parent | 7d3672c60a8ee9fc7f540d36f410c81298f8439d (diff) | |
| download | seaweedfs-722b14337eefc69f955a2189c5fc7dff4525eac0.tar.xz seaweedfs-722b14337eefc69f955a2189c5fc7dff4525eac0.zip | |
add cipher option to meta data updates
| -rw-r--r-- | weed/filer2/filer_notify_append.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) } |
