|
|
@ -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 |
|
|
|
xxxxxxxxxx