aboutsummaryrefslogtreecommitdiffstats
path: root/testing/prometheus-node-exporter/fix-go-sum.patch
diff options
context:
space:
mode:
Diffstat (limited to 'testing/prometheus-node-exporter/fix-go-sum.patch')
-rw-r--r--testing/prometheus-node-exporter/fix-go-sum.patch27
1 files changed, 27 insertions, 0 deletions
diff --git a/testing/prometheus-node-exporter/fix-go-sum.patch b/testing/prometheus-node-exporter/fix-go-sum.patch
new file mode 100644
index 0000000000..45c35fa162
--- /dev/null
+++ b/testing/prometheus-node-exporter/fix-go-sum.patch
@@ -0,0 +1,27 @@
+From 2fdbf50c525a0ac7ed169b8ca838327ba70c89a4 Mon Sep 17 00:00:00 2001
+From: Tiago Ilieve <tiago.myhro@gmail.com>
+Date: Fri, 25 Jan 2019 14:34:25 +0100
+Subject: [PATCH] Fix 'go.sum' hashes
+
+'github.com/soundcloud/go-runit' was failing with a 'checksum mismatch'
+error message.
+---
+ go.sum | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/go.sum b/go.sum
+index 5a60f0a..2de8dba 100644
+--- a/go.sum
++++ b/go.sum
+@@ -47,7 +47,7 @@ github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d h1:GoAlyOgbOEIFd
+ github.com/prometheus/procfs v0.0.0-20181005140218-185b4288413d/go.mod h1:c3At6R/oaqEKCNdg8wHV1ftS6bRYblBhIjjI8uT2IGk=
+ github.com/sirupsen/logrus v1.1.1 h1:VzGj7lhU7KEB9e9gMpAV/v5XT2NVSvLJhJLCWbnkgXg=
+ github.com/sirupsen/logrus v1.1.1/go.mod h1:zrgwTnHtNr00buQ1vSptGe8m1f/BbgsPukg8qsT7A+A=
+-github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a h1:TGsOnmXp0mo82KbjaDcsTibGxWIdZNXbKJB18gFn1RM=
++github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a h1:os5OBNhwOwybXZMNLqT96XqtjdTtwRFw2w08uluvNeI=
+ github.com/soundcloud/go-runit v0.0.0-20150630195641-06ad41a06c4a/go.mod h1:LeFCbQYJ3KJlPs/FvPz2dy1tkpxyeNESVyCNNzRXFR0=
+ github.com/stretchr/testify v1.2.2 h1:bSDNvY7ZPG5RlJ8otE/7V6gMiyenm9RtJ7IUVIAoJ1w=
+ github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
+--
+2.18.1
+