Skip to content

Commit

Permalink
Allow index flat w/o actually indexing, but writing to file
Browse files Browse the repository at this point in the history
Signed-off-by: Raul Sevilla <rsevilla@redhat.com>
  • Loading branch information
rsevilla87 committed Dec 4, 2020
1 parent 4ebdf70 commit 2c0104f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmd/kube-burner.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2c0104f

Please sign in to comment.