Skip to content

Commit

Permalink
fix(datahub-upgrade): removing the CleanupStep from datahub upgrade (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
jjoyce0510 authored Jun 25, 2021
1 parent 3caa09d commit c74c20a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 36 deletions.

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

0 comments on commit c74c20a

Please sign in to comment.