mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2024-01-19 02:48:24 +00:00
Merge pull request #865 from PapaYofen/fix-864
Fix https://github.com/chrislusf/seaweedfs/issues/864
This commit is contained in:
commit
572d986dee
|
@ -47,6 +47,7 @@ func ReplicatedWrite(masterNode string, s *storage.Store,
|
||||||
}
|
}
|
||||||
q := url.Values{
|
q := url.Values{
|
||||||
"type": {"replicate"},
|
"type": {"replicate"},
|
||||||
|
"ttl": {needle.Ttl.String()},
|
||||||
}
|
}
|
||||||
if needle.LastModified > 0 {
|
if needle.LastModified > 0 {
|
||||||
q.Set("ts", strconv.FormatUint(needle.LastModified, 10))
|
q.Set("ts", strconv.FormatUint(needle.LastModified, 10))
|
||||||
|
|
Loading…
Reference in a new issue