From 78be3b0f6cebca0b6c288948bbaf18f7dd28b4b9 Mon Sep 17 00:00:00 2001 From: chrislu Date: Mon, 6 Jun 2022 10:09:21 -0700 Subject: [PATCH] fix compilation --- weed/command/filer_meta_tail_elastic.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/weed/command/filer_meta_tail_elastic.go b/weed/command/filer_meta_tail_elastic.go index 4c5b606a3..5776c4f97 100644 --- a/weed/command/filer_meta_tail_elastic.go +++ b/weed/command/filer_meta_tail_elastic.go @@ -20,7 +20,6 @@ type EsDocument struct { Uid uint32 `json:"uid,omitempty"` Gid uint32 `json:"gid,omitempty"` UserName string `json:"userName,omitempty"` - Collection string `json:"collection,omitempty"` Crtime int64 `json:"crtime,omitempty"` Mtime int64 `json:"mtime,omitempty"` Mime string `json:"mime,omitempty"` @@ -38,7 +37,6 @@ func toEsEntry(event *filer_pb.EventNotification) (*EsDocument, string) { Uid: entry.Attributes.Uid, Gid: entry.Attributes.Gid, UserName: entry.Attributes.UserName, - Collection: entry.Attributes.Collection, Crtime: entry.Attributes.Crtime, Mtime: entry.Attributes.Mtime, Mime: entry.Attributes.Mime,