00a7f19859
update to 2.55.1 OBS-URL: https://build.opensuse.org/request/show/1224502 OBS-URL: https://build.opensuse.org/package/show/server:monitoring/golang-github-prometheus-prometheus?expand=0&rev=113
39 lines
1.1 KiB
Diff
39 lines
1.1 KiB
Diff
From 1c355d58cf9c1d9d6aba110a61cea4a56c9c03a2 Mon Sep 17 00:00:00 2001
|
|
From: Jan Fajerski <jfajerski@suse.com>
|
|
Date: Fri, 8 Feb 2019 09:17:06 +0100
|
|
Subject: [PATCH] Do not force the pure Go name resolver
|
|
|
|
Revert to Go's default mechanism that will decide between the `netgo`
|
|
pure-Go implementation and the `netcgo` cgo-based implementation depending
|
|
on OS and environment variables.
|
|
|
|
This allows, among other things, to use Prometheus to scrape mDNS targets.
|
|
|
|
Signed-off-by: Jan Fajerski <jfajerski@suse.com>
|
|
Signed-off-by: Johannes Kastl <git@johannes-kastl.de>
|
|
---
|
|
.promu.yml | 2 +-
|
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
|
|
|
diff --git a/.promu.yml b/.promu.yml
|
|
index 699a7fa58..bbf32c87a 100644
|
|
--- a/.promu.yml
|
|
+++ b/.promu.yml
|
|
@@ -12,12 +12,12 @@ build:
|
|
path: ./cmd/promtool
|
|
tags:
|
|
all:
|
|
- - netgo
|
|
- builtinassets
|
|
- stringlabels
|
|
windows:
|
|
- builtinassets
|
|
- stringlabels
|
|
+ flags: -mod=vendor -a
|
|
ldflags: |
|
|
-X github.com/prometheus/common/version.Version={{.Version}}
|
|
-X github.com/prometheus/common/version.Revision={{.Revision}}
|
|
--
|
|
2.44.1
|
|
|