From 36cfcbfeaba157dcae221f8bc21baf1031b6e23a Mon Sep 17 00:00:00 2001 From: andig Date: Wed, 22 Feb 2023 19:25:52 +0100 Subject: [PATCH] Revert "chore: remove unused var" This reverts commit b3f2ac936fd71ec6c2ba7c0a474047e422b05bc1. --- cmd/root.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/cmd/root.go b/cmd/root.go index aebb0a9ee..51ae32f43 100644 --- a/cmd/root.go +++ b/cmd/root.go @@ -37,7 +37,8 @@ var ( log = util.NewLogger("main") cfgFile string - ignoreMqtt = []string{"auth", "releaseNotes"} // excessive size may crash certain brokers + ignoreErrors = []string{"warn", "error"} // don't add to cache + ignoreMqtt = []string{"auth", "releaseNotes"} // excessive size may crash certain brokers ) // rootCmd represents the base command when called without any subcommands