PER-335 Add comment

This commit is contained in:
Moshe-Rappaport-CA
2022-10-23 16:25:47 +03:00
parent c8fc5378c1
commit ef79c42ebc
+1 -4
View File
@@ -160,15 +160,12 @@ func setSubmitBehavior(scanInfo *cautils.ScanInfo, tenantConfig cautils.ITenantC
return
}
// if tenantConfig.GetAccountID() == "" {
// scanInfo.Submit = false
// } else {
// If There is no account, or if the account is not legal, do not submit
if _, err := uuid.Parse(tenantConfig.GetAccountID()); err != nil {
scanInfo.Submit = false
} else {
scanInfo.Submit = true
}
// }
}