From dde57178f171a58e6d6fde0f0113ca1e22d825ab Mon Sep 17 00:00:00 2001 From: David Terry Date: Wed, 10 Oct 2018 13:38:57 +0300 Subject: [PATCH] vat.fold: break out of loop in transformer if no logs found --- pkg/transformers/vat_fold/transformer.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/transformers/vat_fold/transformer.go b/pkg/transformers/vat_fold/transformer.go index 17c6a321..7f0cd298 100644 --- a/pkg/transformers/vat_fold/transformer.go +++ b/pkg/transformers/vat_fold/transformer.go @@ -64,6 +64,7 @@ func (transformer VatFoldTransformer) Execute() error { if err != nil { return err } + continue } models, err := transformer.Converter.ToModels(matchingLogs) if err != nil {