Browse Source

fix tests

pull/719/head
Chris Lu 7 years ago
parent
commit
ae9b81c18f
  1. 4
      weed/filer2/filer_notify.go

4
weed/filer2/filer_notify.go

@ -15,6 +15,8 @@ func (f *Filer) NotifyUpdateEvent(oldEntry, newEntry *Entry) {
return
}
if msgqueue.Queue != nil {
msgqueue.Queue.SendMessage(
key,
&filer_pb.EventNotification{
@ -25,6 +27,8 @@ func (f *Filer) NotifyUpdateEvent(oldEntry, newEntry *Entry) {
}
}
func toProtoEntry(entry *Entry) *filer_pb.Entry {
if entry == nil {
return nil

|||||||
100:0
Loading…
Cancel
Save