aboutsummaryrefslogtreecommitdiff
path: root/weed/command/filer_meta_tail_non_elastic.go
diff options
context:
space:
mode:
authorchrislu <chris.lu@gmail.com>2022-04-21 01:10:46 -0700
committerchrislu <chris.lu@gmail.com>2022-04-21 01:10:46 -0700
commit3885374edf80c5c07551c2a43948614b98936fe5 (patch)
tree9bb4aecfc9d184ded442781efededc00c9a2e11e /weed/command/filer_meta_tail_non_elastic.go
parent6994e8819234648c01f232a9786a2bdeb275194e (diff)
downloadseaweedfs-3885374edf80c5c07551c2a43948614b98936fe5.tar.xz
seaweedfs-3885374edf80c5c07551c2a43948614b98936fe5.zip
conditionally build elastic, gocdk to reduce binary size
Diffstat (limited to 'weed/command/filer_meta_tail_non_elastic.go')
-rw-r--r--weed/command/filer_meta_tail_non_elastic.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/weed/command/filer_meta_tail_non_elastic.go b/weed/command/filer_meta_tail_non_elastic.go
new file mode 100644
index 000000000..f78f3ee09
--- /dev/null
+++ b/weed/command/filer_meta_tail_non_elastic.go
@@ -0,0 +1,14 @@
+//go:build !elastic
+// +build !elastic
+
+package command
+
+import (
+ "github.com/chrislusf/seaweedfs/weed/pb/filer_pb"
+)
+
+func sendToElasticSearchFunc(servers string, esIndex string) (func(resp *filer_pb.SubscribeMetadataResponse) error, error) {
+ return func(resp *filer_pb.SubscribeMetadataResponse) error {
+ return nil
+ }, nil
+}