Stackdriver / stackdriver-prometheus-sidecar

A sidecar for the Prometheus server that can send metrics to Stackdriver.
https://cloud.google.com/monitoring/kubernetes-engine/prometheus
Apache License 2.0
120 stars 43 forks source link

Revert "Set GO111MODULE for go and promu commands, so that they work … #166

Closed jkohen closed 5 years ago

jkohen commented 5 years ago

…under GOPATH. (#158)"

The change is causing regular errors while pulling the modules: https://travis-ci.com/Stackdriver/stackdriver-prometheus-sidecar/builds

I'm not sure why it worked well with the original PR. I've looked at this in the past and couldn't get it to work with Travis and respect GOPATH.

Go 1.13 introduced a local package cache, and hopefully Travis will take advantage of that soon, or maybe some other change will fix the particular issue we're seeing.

This reverts commit af7513e0eea0ab9f3bc65525b5a114a5067e2d8d.