From 5003e6c2341ca57f9edfb3a87801bf6dfb6972c6 Mon Sep 17 00:00:00 2001 From: ivnmrtk Date: Fri, 11 Feb 2022 11:42:57 +0300 Subject: [PATCH] TD-74::fix --- pkg/filterengine/filters/deploy_errors_checker.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/filterengine/filters/deploy_errors_checker.go b/pkg/filterengine/filters/deploy_errors_checker.go index ac676cd..fe4e21a 100644 --- a/pkg/filterengine/filters/deploy_errors_checker.go +++ b/pkg/filterengine/filters/deploy_errors_checker.go @@ -30,7 +30,7 @@ func (d DeployErrorsChecker) Run(object interface{}, event *events.Event) { if err != nil { log.Errorf("Unable to transform object type: %v, into type: %v", reflect.TypeOf(object), reflect.TypeOf(podObj)) } - event.Recommendations = append(event.Warnings, fmt.Sprintf(Message+KibanaUrlTemplate, podObj.Name)) + event.Recommendations = append(event.Recommendations, fmt.Sprintf(Message+KibanaUrlTemplate, podObj.Name)) } func (d DeployErrorsChecker) Describe() string {