mirror of
https://github.com/kubescape/kubescape.git
synced 2026-04-15 06:58:11 +00:00
fix panic when submitting report
Signed-off-by: Amir Malka <amirm@armosec.io>
This commit is contained in:
@@ -76,7 +76,7 @@ func (report *ReportEventReceiver) Submit(ctx context.Context, opaSessionObj *ca
|
||||
}
|
||||
|
||||
if err := report.prepareReport(opaSessionObj); err != nil {
|
||||
return fmt.Errorf("failed to submit scan results. url: '%s', reason: %s", report.getReportUrl(), err.Error())
|
||||
return fmt.Errorf("failed to submit scan results. reason: %s", err.Error())
|
||||
}
|
||||
|
||||
logger.L().Debug("", helpers.String("account ID", report.GetAccountID()))
|
||||
|
||||
Reference in New Issue
Block a user