feat(scan): диапазон IPv4-подсетей CIDR–CIDR в поле целей (нормализация в список)
Made-with: Cursor
This commit is contained in:
@@ -18,7 +18,7 @@ func NewPostgresStore(db *sql.DB) *PostgresStore {
|
||||
}
|
||||
|
||||
func (s *PostgresStore) CreateScan(req CreateScanRequest) (ScanJob, error) {
|
||||
if err := validateCreateScanRequest(req); err != nil {
|
||||
if err := validateCreateScanRequest(&req); err != nil {
|
||||
return ScanJob{}, err
|
||||
}
|
||||
applyDefaultOptions(&req.Options)
|
||||
|
||||
Reference in New Issue
Block a user