Skip to content

Commit

Permalink
Remove migrator remove-key workaround that no longer applies
Browse files Browse the repository at this point in the history
  • Loading branch information
tjkirch committed Feb 24, 2020
1 parent ae236a6 commit f24898a
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 179 deletions.
11 changes: 0 additions & 11 deletions sources/api/migration/migration-helpers/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,6 @@ mod args;
pub mod common_migrations;
mod datastore;
pub mod error;
mod workarounds;

use snafu::ResultExt;
use std::collections::HashMap;
Expand All @@ -28,7 +27,6 @@ pub use apiserver::datastore::{DataStore, FilesystemDataStore};
use args::{parse_args, Args};
use datastore::{get_input_data, set_output_data};
pub use error::Result;
use workarounds::fix_migrated_data;

/// The data store implementation currently in use. Used by the simpler `migrate` interface; can
/// be overridden by using the `run_migration` interface.
Expand Down Expand Up @@ -106,15 +104,6 @@ pub fn run_migration(mut migration: impl Migration, args: &Args) -> Result<()> {
MigrationType::Backward => migration.backward(migrated),
}?;

fix_migrated_data(
&input,
&mut migrated,
&source,
&mut target,
&committed,
&args,
)?;

validate_migrated_data(&migrated)?;

set_output_data(&mut target, &migrated, &committed)?;
Expand Down
168 changes: 0 additions & 168 deletions sources/api/migration/migration-helpers/src/workarounds.rs

This file was deleted.

0 comments on commit f24898a

Please sign in to comment.