From b276ef1c9109ebdc4983a500d3b12c251b6bc818 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bj=C3=B8rn=20Erik=20Pedersen?= Date: Fri, 13 Oct 2017 00:15:29 +0200 Subject: [PATCH] Fix "go get" in README (#3288) You start by saying that you need >= Go 1.8, then you say you need the Go 1.5 flag `GO15VENDOREXPERIMENT`, which was made default in Go 1.6. --- README.md | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index e899e2d2b..a8f20a4de 100644 --- a/README.md +++ b/README.md @@ -61,11 +61,9 @@ To build Prometheus from the source code yourself you need to have a working Go environment with [version 1.8 or greater installed](http://golang.org/doc/install). You can directly use the `go` tool to download and install the `prometheus` -and `promtool` binaries into your `GOPATH`. We use Go 1.5's experimental -vendoring feature, so you will also need to set the `GO15VENDOREXPERIMENT=1` -environment variable in this case: +and `promtool` binaries into your `GOPATH`: - $ GO15VENDOREXPERIMENT=1 go get github.com/prometheus/prometheus/cmd/... + $ go get github.com/prometheus/prometheus/cmd/... $ prometheus --config.file=your_config.yml You can also clone the repository yourself and build using `make`: