From 910a464248a28224bb0fd6c76403ba3e42ba4734 Mon Sep 17 00:00:00 2001 From: Daniel Nelson Date: Mon, 4 Jun 2018 18:06:59 -0700 Subject: [PATCH] Fix misnamed option in varnish sample config --- plugins/inputs/varnish/README.md | 2 +- plugins/inputs/varnish/varnish.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/inputs/varnish/README.md b/plugins/inputs/varnish/README.md index 01ab7ac24..8949fe6db 100644 --- a/plugins/inputs/varnish/README.md +++ b/plugins/inputs/varnish/README.md @@ -20,7 +20,7 @@ This plugin gathers stats from [Varnish HTTP Cache](https://varnish-cache.org/) ## Optional name for the varnish instance (or working directory) to query ## Usually appened after -n in varnish cli - #name = instanceName + # instance_name = instanceName ``` ### Measurements & Fields: diff --git a/plugins/inputs/varnish/varnish.go b/plugins/inputs/varnish/varnish.go index 7ceb7d250..f1c703971 100644 --- a/plugins/inputs/varnish/varnish.go +++ b/plugins/inputs/varnish/varnish.go @@ -48,7 +48,7 @@ var sampleConfig = ` ## Optional name for the varnish instance (or working directory) to query ## Usually appened after -n in varnish cli - #name = instanceName + # instance_name = instanceName ` func (s *Varnish) Description() string {