s12v / awsbeats

AWS Kinesis plugin for Filebeat
Apache License 2.0
61 stars 26 forks source link

error in go build #51

Closed newhardwarefound closed 5 years ago

newhardwarefound commented 5 years ago

When running go build, I got the following error message: make variables for this build: DOCKER_TAG = 0.2.10-v6.5.0-"filebeat"-v6.5.4 GO_PLATFORM = linux-amd64 AWSBEATS_VERSION = 0.2.10-v6.5.0 GO_VERSION = 1.11.4 DOCKER_IMAGE = s12v/awsbeats BEAT_GITHUB_REPO = github.com/elastic/beats BEAT_GO_PKG = github.com/elastic/beats/"filebeat" BEATS_TAG = v6.5.4 BEAT_NAME = "filebeat" BEAT_DOCKER_IMAGE = docker.elastic.co/beats/"filebeat":v6.5.4 To override, run make like 'make SOME_VAR=some_value'. Building filebeat:v6.5.4... Previous HEAD position was 75b5dd3... Close changelog for the 6.1.3 release (#6163) HEAD is now at 9238415... Update testing env 6.5.4 (#9631) make[1]: Entering directory '/home/linxlogic/go_projects/src/github.com/elastic/beats/filebeat' go build -i -ldflags "-X github.com/elastic/beats/libbeat/version.buildTime=2018-12-21T00:16:30Z -X github.com/elastic/beats/libbeat/version.commit=923841526f8c32b10040eddbe9a3ecfc7772da4f" make[1]: Leaving directory '/home/linxlogic/go_projects/src/github.com/elastic/beats/filebeat' test -z "$(find . -path ./vendor -prune -type f -o -name '*.go' -exec gofmt -d {} + | tee /dev/stderr)" go test ./firehose -v -coverprofile=coverage.txt -covermode=atomic

github.com/s12v/awsbeats/firehose [github.com/s12v/awsbeats/firehose.test]

firehose/firehose.go:32: cannot assign client to client (type outputs.NetworkClient) in multiple assignment: client does not implement outputs.NetworkClient (missing String method) FAIL github.com/s12v/awsbeats/firehose [build failed] Makefile:26: recipe for target 'test' failed make: *** [test] Error 2