From de11b22f397ea2f8f045466e9ddf9e82ac7dbd45 Mon Sep 17 00:00:00 2001 From: Wilian Gabriel Date: Tue, 22 Mar 2022 15:59:09 -0300 Subject: [PATCH] analysis:chore - Added gorm ignore in warning analysis Signed-off-by: Wilian Gabriel --- pkg/entities/analysis/analysis.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/entities/analysis/analysis.go b/pkg/entities/analysis/analysis.go index db72ac4..4a08ad3 100644 --- a/pkg/entities/analysis/analysis.go +++ b/pkg/entities/analysis/analysis.go @@ -40,7 +40,7 @@ type Analysis struct { // simplifying our warning management. After start an analysis we cannot print any message or the loading will // break, the idea are that we add all necessary warnings into this field and avoid these messages during the // loading phase. - Warnings []string `json:"-"` + Warnings []string `json:"-" gorm:"-"` } func (a *Analysis) GetTable() string {