Skip to content

Commit

Permalink
fix npe (airbytehq#8101)
Browse files Browse the repository at this point in the history
  • Loading branch information
jrhizor authored Nov 18, 2021
1 parent 32182a8 commit dcd3b93
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ void submitJob(final Job job) {
final String connectionId = job.getScope();
final StandardWorkspace workspace = configRepository.getStandardWorkspaceFromConnection(UUID.fromString(connectionId), false);

if (!workspace.getFirstCompletedSync()) {
if (workspace.getFirstCompletedSync() == null || !workspace.getFirstCompletedSync()) {
workspace.setFirstCompletedSync(true);
configRepository.writeStandardWorkspace(workspace);
}
Expand Down

0 comments on commit dcd3b93

Please sign in to comment.