Skip to content

Commit

Permalink
add missing import
Browse files Browse the repository at this point in the history
  • Loading branch information
pedro93 committed May 28, 2024
1 parent 1ad4538 commit 919f0cb
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,12 +11,14 @@
import com.linkedin.metadata.entity.AspectUtils;
import com.linkedin.metadata.key.DataHubViewKey;
import com.linkedin.metadata.utils.EntityKeyUtils;
import com.linkedin.r2.RemoteInvocationException;
import com.linkedin.view.DataHubViewDefinition;
import com.linkedin.view.DataHubViewInfo;
import com.linkedin.view.DataHubViewType;
import io.datahubproject.metadata.context.OperationContext;
import java.util.Objects;
import java.util.UUID;
import java.util.concurrent.CompletableFuture;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import lombok.extern.slf4j.Slf4j;
Expand Down Expand Up @@ -177,7 +179,7 @@ public void deleteView(@Nonnull OperationContext opContext, @Nonnull Urn viewUrn
try {
this.entityClient.deleteEntity(
opContext, Objects.requireNonNull(viewUrn, "viewUrn must not be null"));

// Asynchronously delete all references to the entity (to return quickly)
CompletableFuture.runAsync(
() -> {
Expand Down

0 comments on commit 919f0cb

Please sign in to comment.