varnish plugin: Add informative warnings to the config handling.
authorFlorian Forster <octo@collectd.org>
Thu, 28 Jul 2016 08:53:50 +0000 (10:53 +0200)
committerFlorian Forster <octo@collectd.org>
Thu, 28 Jul 2016 08:53:50 +0000 (10:53 +0200)
commit157dd7be6904c59ce62d2ff404bc234eb2e32cbb
treecb3d9a292eb83ab38195a2246c7e17ecbcb7b0e8
parent005a70ad7863229b8c60e8ca83b67e89dfb05ad0
varnish plugin: Add informative warnings to the config handling.

Not all config options are valid for all versions of Varnish. Rather
than removing the if-clause altogether, which results in a "Ignoring
unknown configuration option" warning, print a user-friendly warning
instead.

Fixes: #1790
src/varnish.c