fix tests
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user