From 2c0104f090841d7bcfb17d07f0707c642d71b58a Mon Sep 17 00:00:00 2001 From: Raul Sevilla Date: Wed, 2 Dec 2020 18:25:24 +0100 Subject: [PATCH] Allow index flat w/o actually indexing, but writing to file Signed-off-by: Raul Sevilla --- cmd/kube-burner.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/cmd/kube-burner.go b/cmd/kube-burner.go index a7fc2b41c..f7a8a3fa5 100644 --- a/cmd/kube-burner.go +++ b/cmd/kube-burner.go @@ -134,8 +134,6 @@ func indexCmd() *cobra.Command { var indexer *indexers.Indexer if config.ConfigSpec.GlobalConfig.IndexerConfig.Enabled { indexer = indexers.NewIndexer() - } else { - log.Fatal("Indexing is disabled in the configuration") } p, err := prometheus.NewPrometheusClient(url, token, username, password, metricsProfile, uuid, skipTLSVerify, prometheusStep) if err != nil {