Skip to content

Commit

Permalink
fixup! added UpsertByIdContext in order to register UpsertByIdTask in…
Browse files Browse the repository at this point in the history
… JobContextService
  • Loading branch information
Philipp Bogensberger committed May 6, 2015
1 parent 6209f0b commit f084447
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions sql/src/main/java/io/crate/jobs/UpsertByIdContext.java
Original file line number Diff line number Diff line change
Expand Up @@ -77,6 +77,7 @@ public void onResponse(ShardUpsertResponse updateResponse) {
}
futureResult.set(TaskResult.ZERO);
}
close();
}

@Override
Expand All @@ -90,6 +91,7 @@ public void onFailure(Throwable e) {
} else {
futureResult.setException(e);
}
close();
}
});
}
Expand Down

0 comments on commit f084447

Please sign in to comment.