From 5d1f44aa6fb71cabc1377d74956b157cb9c24a58 Mon Sep 17 00:00:00 2001 From: Lukas Plattner Date: Thu, 23 Nov 2023 10:06:23 +0100 Subject: [PATCH] Update manifests/config.pp Co-authored-by: Ewoud Kohl van Wijngaarden --- manifests/config.pp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/manifests/config.pp b/manifests/config.pp index bd5cc5f..ce6b818 100644 --- a/manifests/config.pp +++ b/manifests/config.pp @@ -51,8 +51,7 @@ mode => $otelcol::config_file_mode, } - if($otelcol::receivers) { - $otelcol::receivers.each|String $rname, Hash $rvalue| { + $otelcol::receivers.each|String $rname, Hash $rvalue| { if $rvalue['config'] =~ Hash { ensure_resource('Otelcol::Receiver', $rname, $rvalue) } else {