mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/netdata-go-plugins: 0.58.1
Also fix the pulsar test case, re-enable check() Closes #15865
This commit is contained in:
parent
30337a2b46
commit
1980fb2f6f
@ -0,0 +1,24 @@
|
||||
From d28d1f71c7e0093662d5e5917685b430759848af Mon Sep 17 00:00:00 2001
|
||||
From: Ilya Mashchenko <ilya@netdata.cloud>
|
||||
Date: Mon, 4 Mar 2024 10:36:02 +0200
|
||||
Subject: [PATCH] fix go.d.plugin/pulsar tests (#17093)
|
||||
|
||||
---
|
||||
src/go/collectors/go.d.plugin/modules/pulsar/charts.go | 1 +
|
||||
1 file changed, 1 insertion(+)
|
||||
|
||||
diff --git a/src/go/collectors/go.d.plugin/modules/pulsar/charts.go b/src/go/collectors/go.d.plugin/modules/pulsar/charts.go
|
||||
index a0599dc8d..3ddff66f6 100644
|
||||
--- a/modules/pulsar/charts.go
|
||||
+++ b/modules/pulsar/charts.go
|
||||
@@ -269,6 +269,7 @@ var namespaceCharts = Charts{
|
||||
}
|
||||
|
||||
func toNamespaceChart(chart Chart) Chart {
|
||||
+ chart = *chart.Copy()
|
||||
if chart.ID == sumBrokerComponentsChart.ID {
|
||||
_ = chart.RemoveDim("pulsar_namespaces_count")
|
||||
}
|
||||
--
|
||||
2.44.0
|
||||
|
||||
@ -1,17 +1,17 @@
|
||||
# Contributor: Henrik Riomar <henrik.riomar@gmail.com>
|
||||
# Maintainer: Henrik Riomar <henrik.riomar@gmail.com>
|
||||
pkgname=netdata-go-plugins
|
||||
pkgver=0.58.0
|
||||
pkgrel=1
|
||||
pkgver=0.58.1
|
||||
pkgrel=0
|
||||
pkgdesc="netdata go.d.plugin"
|
||||
url="https://github.com/netdata/go.d.plugin"
|
||||
arch="all !x86 !armv7 !armhf" # checks fail
|
||||
license="GPL-3.0-or-later"
|
||||
depends="netdata"
|
||||
makedepends="go"
|
||||
# FIXME: https://gitlab.alpinelinux.org/alpine/aports/-/issues/15865
|
||||
options="!check"
|
||||
source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/netdata/go.d.plugin/tar.gz/refs/tags/v$pkgver"
|
||||
source="$pkgname-$pkgver.tar.gz::https://codeload.github.com/netdata/go.d.plugin/tar.gz/refs/tags/v$pkgver
|
||||
0001-fix-go.d.plugin-pulsar-tests-17093.patch
|
||||
"
|
||||
builddir="$srcdir/go.d.plugin-$pkgver"
|
||||
|
||||
export GOFLAGS="$GOFLAGS -modcacherw"
|
||||
@ -36,5 +36,6 @@ package() {
|
||||
}
|
||||
|
||||
sha512sums="
|
||||
cab04ea45008b668a6103a6d147e4f96e55a132f13e5ca3054b5ea6cff263dba048a9f7f52f4781495425f9a9cbb9e43786047188b0165ca1071c7c216486e12 netdata-go-plugins-0.58.0.tar.gz
|
||||
acbfd7ee4a72cee0587936bd2d4e27a2b58894ee72a2218b96643c1fe0866990f9d6bfe1f754cda5f5443bc75e1406a6511300ea265a81e4be89f7f97b17664c netdata-go-plugins-0.58.1.tar.gz
|
||||
7b7e6599cdd87f8640ab21323f2fe7b419b6371538f46554c5b272a7ef47f94b32f27abe7c37429aeeeef038be57fce0b75a52de15890b1dbfb96e6f6f9e6300 0001-fix-go.d.plugin-pulsar-tests-17093.patch
|
||||
"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user