Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

./main.go:12: cannot use beater.New() (type *beater.Mysqlbeat) #19

Open
geekgogie opened this issue Jan 6, 2019 · 0 comments
Open

./main.go:12: cannot use beater.New() (type *beater.Mysqlbeat) #19

geekgogie opened this issue Jan 6, 2019 · 0 comments

Comments

@geekgogie
Copy link

From what I see, I encountered the same thing on #10. and got the complete output as follows:

root@elknode1:/home/vagrant/mysqlbeat# make
go build
# _/home/vagrant/mysqlbeat
./main.go:12: cannot use beater.New() (type *beater.Mysqlbeat) as type "github.com/elastic/beats/libbeat/beat".Beater in argument to "github.com/elastic/beats/libbeat/beat".Run:
        *beater.Mysqlbeat does not implement "github.com/elastic/beats/libbeat/beat".Beater (wrong type for Cleanup method)
                have Cleanup(*"github.com/adibendahan/mysqlbeat/vendor/github.com/elastic/beats/libbeat/beat".Beat) error
                want Cleanup(*"github.com/elastic/beats/libbeat/beat".Beat) error
vendor/github.com/elastic/beats/libbeat/scripts/Makefile:56: recipe for target 'build' failed
make: *** [build] Error 2

The current version I have is the recent one:

root@elknode1:/home/vagrant/mysqlbeat# filebeat version
filebeat version 6.5.4 (amd64), libbeat 6.5.4 [bd8922f1c7e93d12b07e0b3f7d349e17107f7826 built 2018-12-17 20:22:29 +0000 UTC]

and go version is

root@elknode1:/home/vagrant/mysqlbeat# go version
go version go1.7.4 linux/amd64

Is this still being maintained since the last update was almost 2 years ago.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant