Browse Source

add cipher key

pull/1298/head
Chris Lu 5 years ago
parent
commit
ea809a45ab
  1. 1
      weed/messaging/broker/broker_append.go

1
weed/messaging/broker/broker_append.go

@ -29,6 +29,7 @@ func (broker *MessageBroker) appendToFile(targetFile string, topicConfig *messag
Size: uint64(uploadResult.Size), Size: uint64(uploadResult.Size),
Mtime: time.Now().UnixNano(), Mtime: time.Now().UnixNano(),
ETag: uploadResult.ETag, ETag: uploadResult.ETag,
CipherKey: uploadResult.CipherKey,
IsGzipped: uploadResult.Gzip > 0, IsGzipped: uploadResult.Gzip > 0,
} }

Loading…
Cancel
Save