diff --git a/cmd/go_migrate/extractor.go b/cmd/go_migrate/extractor.go index 66053dd..26f97e2 100644 --- a/cmd/go_migrate/extractor.go +++ b/cmd/go_migrate/extractor.go @@ -30,11 +30,11 @@ func extractFromMssql( }) if indexPrimaryKey == -1 { - exError := JobError{ + jobError := JobError{ ShouldCancelJob: true, Msg: "Primary key not found in provided columns", } - chJobErrorsOut <- exError + chJobErrorsOut <- jobError return }