Skip to content

Commit

Permalink
Pre 0.14.x AspaDefinitionUpdates also used plain Asn for "remove"
Browse files Browse the repository at this point in the history
  • Loading branch information
Tim Bruijnzeels committed Nov 27, 2023
1 parent 2eedec4 commit 64e68ea
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/upgrades/pre_0_14_0/old_commands.rs
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ use crate::{
eventsourcing::WithStorableDetails,
},
daemon::ca::DropReason,
upgrades::pre_0_14_0::{Pre0_14_0AspaProvidersUpdate, Pre0_14_0ProviderAs},
upgrades::pre_0_14_0::Pre0_14_0AspaProvidersUpdate,
};

use super::Pre0_14_0AspaDefinition;
Expand Down Expand Up @@ -133,7 +133,7 @@ pub enum Pre0_14_0CertAuthStorableCommand {
#[derive(Clone, Debug, Deserialize, Eq, PartialEq, Serialize)]
pub struct Pre0_14_0AspaDefinitionUpdates {
add_or_replace: Vec<Pre0_14_0AspaDefinition>,
remove: Vec<Pre0_14_0ProviderAs>, // was using string notation
remove: Vec<rpki::resources::Asn>,
}

impl From<Pre0_14_0CertAuthStorableCommand> for CertAuthStorableCommand {
Expand Down

0 comments on commit 64e68ea

Please sign in to comment.