fix tests
This commit is contained in:
@@ -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{
|
||||||
@@ -25,6 +27,8 @@ func (f *Filer) NotifyUpdateEvent(oldEntry, newEntry *Entry) {
|
|||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
func toProtoEntry(entry *Entry) *filer_pb.Entry {
|
func toProtoEntry(entry *Entry) *filer_pb.Entry {
|
||||||
if entry == nil {
|
if entry == nil {
|
||||||
return nil
|
return nil
|
||||||
|
|||||||
Reference in New Issue
Block a user