Open ujlbu4 opened 5 years ago
+1 here. I think it needs /vendor
Same issue: `root@mon:/tmp # git clone https://github.com/rgannu/burrow-graphite.git Cloning into 'burrow-graphite'... remote: Enumerating objects: 6, done. remote: Counting objects: 100% (6/6), done. remote: Compressing objects: 100% (6/6), done. remote: Total 24 (delta 0), reused 2 (delta 0), pack-reused 18 Unpacking objects: 100% (24/24), done. Checking connectivity... done.
root@mon:/tmp # cd burrow-graphite/
root@mon:/tmp/burrow-graphite # docker build . -t burrow-graphite:2019052801 Sending build context to Docker daemon 133.1kB Step 1/10 : FROM golang ---> 7ced090ee82e Step 2/10 : COPY . /go/src/github.com/rgannu/burrow-graphite ---> d840716fcaba Removing intermediate container 906231a20acd Step 3/10 : WORKDIR /go/src/github.com/rgannu/burrow-graphite ---> 4b8e8c6a81b2 Removing intermediate container 7071b16e5927 Step 4/10 : RUN go get ./ ---> Running in 728d971fa501
burrow_graphite/exporter.go:31:18: missing len argument to make([]graphite.Metric) burrow_graphite/exporter.go:40:47: not enough arguments in call to graphite.NewMetric have (string, string) want (string, string, int64) burrow_graphite/metrics.go:26:57: undefined: Metric burrow_graphite/metrics.go:27:18: graphite.sendMetrics undefined (cannot refer to unexported field or method graphite.(*Graphite).sendMetrics) The command '/bin/sh -c go get ./' returned a non-zero code: 2`
Is anyone figured out how to work it around?
opened PR for compilation fixes
Hi, trying to build docker image, but it's not compiling:
Looks like late commit (https://github.com/rgannu/burrow-graphite/commit/7567da329961eefff9498c59cf7a1c1ed06bf278) broken it.
Full log:
Thanks