Skip to content
Merged
Show file tree
Hide file tree
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
Next Next commit
Removing the CleanupStep from DataHub Upgrade
  • Loading branch information
jjoyce0510 committed Jun 21, 2021
commit 233bc3a482c67b4bdf18eb419f69f0bd1ecefbdb

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
package com.linkedin.datahub.upgrade.nocode;

import com.google.common.collect.ImmutableList;
import com.linkedin.datahub.upgrade.Upgrade;
import com.linkedin.datahub.upgrade.UpgradeCleanupStep;
import com.linkedin.datahub.upgrade.UpgradeStep;
import com.linkedin.metadata.entity.EntityService;
import com.linkedin.metadata.models.registry.SnapshotEntityRegistry;
import io.ebean.EbeanServer;
import java.util.ArrayList;
import java.util.Collections;
import java.util.List;

public class NoCodeUpgrade implements Upgrade {
Expand Down Expand Up @@ -48,7 +48,7 @@ public List<UpgradeCleanupStep> cleanupSteps() {
}

private List<UpgradeCleanupStep> buildCleanupSteps(final EbeanServer server) {
return ImmutableList.of(new CleanupStep(server));
return Collections.emptyList();
}

private List<UpgradeStep> buildUpgradeSteps(
Expand Down