TD-74::fix

This commit is contained in:
ivnmrtk 2022-02-11 11:42:57 +03:00
parent 8908bb28d8
commit 5003e6c234

View File

@ -30,7 +30,7 @@ func (d DeployErrorsChecker) Run(object interface{}, event *events.Event) {
if err != nil { if err != nil {
log.Errorf("Unable to transform object type: %v, into type: %v", reflect.TypeOf(object), reflect.TypeOf(podObj)) 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 { func (d DeployErrorsChecker) Describe() string {