fix tests

This commit is contained in:
Chris Lu 2018-08-13 01:33:21 -07:00
parent 5c467083e5
commit ae9b81c18f

View file

@ -15,13 +15,17 @@ func (f *Filer) NotifyUpdateEvent(oldEntry, newEntry *Entry) {
return return
} }
msgqueue.Queue.SendMessage( if msgqueue.Queue != nil {
key,
&filer_pb.EventNotification{ msgqueue.Queue.SendMessage(
OldEntry: toProtoEntry(oldEntry), key,
NewEntry: toProtoEntry(newEntry), &filer_pb.EventNotification{
}, OldEntry: toProtoEntry(oldEntry),
) NewEntry: toProtoEntry(newEntry),
},
)
}
} }