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 return
} }
if msgqueue.Queue != nil {
msgqueue.Queue.SendMessage( msgqueue.Queue.SendMessage(
key, key,
&filer_pb.EventNotification{ &filer_pb.EventNotification{
@ -23,6 +25,8 @@ func (f *Filer) NotifyUpdateEvent(oldEntry, newEntry *Entry) {
}, },
) )
}
} }
func toProtoEntry(entry *Entry) *filer_pb.Entry { func toProtoEntry(entry *Entry) *filer_pb.Entry {

Loading…
Cancel
Save