summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin English <wizardedit@gentoo.org>2018-03-12 18:07:21 -0500
committerAustin English <wizardedit@gentoo.org>2018-03-12 18:07:37 -0500
commitc11f7dc739f73ee9efe622a742d5f2c128a39a4a (patch)
tree2f78b363a13d909dc951c91e188c7bc6556f1c82 /net-analyzer
parentapp-admin/logstash-bin: drop old. (diff)
downloadgentoo-c11f7dc739f73ee9efe622a742d5f2c128a39a4a.tar.gz
gentoo-c11f7dc739f73ee9efe622a742d5f2c128a39a4a.tar.bz2
gentoo-c11f7dc739f73ee9efe622a742d5f2c128a39a4a.zip
net-analyzer/prometheus-snmp_exporter: fix typo in confd
austin@austin1 ~ $ touch snmp.yml austin@austin1 ~ $ /usr/bin/snmp_exporter --config-file=snmp.yml snmp_exporter: error: unknown long flag '--config-file', try --help austin@austin1 ~ $ /usr/bin/snmp_exporter --config.file=snmp.yml INFO[0000] Starting snmp exporter (version=0.8.0, branch=non-git, revision=17cefca) source="main.go:125" INFO[0000] Build context (go=go1.9.4, user=portage@releng3, date=20180222-23:34:24) source="main.go:126" INFO[0000] Listening on :9116 source="main.go:205" Package-Manager: Portage-2.3.19, Repoman-2.3.6
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd2
1 files changed, 1 insertions, 1 deletions
diff --git a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
index e80d6a1a8504..c5e56a67e15e 100644
--- a/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
+++ b/net-analyzer/prometheus-snmp_exporter/files/prometheus-snmp_exporter.confd
@@ -1,2 +1,2 @@
# arguments for prometheus snmp exporter
-command_args="--config-file=/etc/snmp_exporter/snmp.yml"
+command_args="--config.file=/etc/snmp_exporter/snmp.yml"