Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
Please login to access the resource
SUSE:SLE-15-SP1:GA
golang-github-prometheus-prometheus.16144
0001-Do-not-force-the-pure-Go-name-resolver.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File 0001-Do-not-force-the-pure-Go-name-resolver.patch of Package golang-github-prometheus-prometheus.16144
From 29211c2f5e1ed47715789aa75d755002cddeba02 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> --- .promu.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.promu.yml b/.promu.yml index 0541bec..ad6cc78 100644 --- a/.promu.yml +++ b/.promu.yml @@ -12,7 +12,7 @@ build: path: ./cmd/promtool - name: tsdb path: ./tsdb/cmd/tsdb - flags: -mod=vendor -a -tags netgo,builtinassets + flags: -mod=vendor -a -tags builtinassets ldflags: | -X github.com/prometheus/common/version.Version={{.Version}} -X github.com/prometheus/common/version.Revision={{.Revision}}
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor