Fixing typo in the ActionSendReport error message

This commit is contained in:
Jonas Kint
2022-01-05 13:49:26 +01:00
parent fc05075817
commit bbf68d4ce8

View File

@@ -44,7 +44,7 @@ func NewReportEventReceiver(tenantConfig *cautils.ConfigObj) *ReportEventReceive
func (report *ReportEventReceiver) ActionSendReport(opaSessionObj *cautils.OPASessionObj) error {
if report.customerGUID == "" || report.clusterName == "" {
return fmt.Errorf("missing accout ID or cluster name. AccountID: '%s', Cluster name: '%s'", report.customerGUID, report.clusterName)
return fmt.Errorf("missing account ID or cluster name. AccountID: '%s', Cluster name: '%s'", report.customerGUID, report.clusterName)
}
if err := report.prepareReport(opaSessionObj.PostureReport, opaSessionObj.AllResources); err != nil {