Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

lint(test): fix unused imports #4

Closed
wants to merge 5 commits into from
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Update UpdateIndicesHook.java
  • Loading branch information
david-leifker authored Mar 21, 2023
commit 12eb769d39fc7bec02c9422c449b677667599071
Original file line number Diff line number Diff line change
Expand Up @@ -179,11 +179,7 @@ private void handleUpdateChangeEvent(@Nonnull final MetadataChangeLog event) {

// Step 2. For all aspects, attempt to update Graph
SystemMetadata systemMetadata = event.getSystemMetadata();
<<<<<<< Updated upstream
if (_graphDiffMode && _graphService instanceof ElasticSearchGraphService
=======
if (_graphDiffMode && !(_graphService instanceof DgraphGraphService)
>>>>>>> Stashed changes
&& (systemMetadata == null || systemMetadata.getProperties() == null
|| !Boolean.parseBoolean(systemMetadata.getProperties().get(FORCE_INDEXING_KEY)))) {
updateGraphServiceDiff(urn, aspectSpec, previousAspect, aspect, event);
Expand Down Expand Up @@ -568,4 +564,4 @@ private EntitySpec getEventEntitySpec(@Nonnull final MetadataChangeLog event) {
event.getEntityType()));
}
}
}
}