fix: correct variable name for job error in MSSQL extraction
This commit is contained in:
@@ -30,11 +30,11 @@ func extractFromMssql(
|
|||||||
})
|
})
|
||||||
|
|
||||||
if indexPrimaryKey == -1 {
|
if indexPrimaryKey == -1 {
|
||||||
exError := JobError{
|
jobError := JobError{
|
||||||
ShouldCancelJob: true,
|
ShouldCancelJob: true,
|
||||||
Msg: "Primary key not found in provided columns",
|
Msg: "Primary key not found in provided columns",
|
||||||
}
|
}
|
||||||
chJobErrorsOut <- exError
|
chJobErrorsOut <- jobError
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user