Updating an existing provider should update AFI limit choice #1055

This commit is contained in:
Tim Bruijnzeels
2023-05-12 13:28:59 +02:00
parent fae1586080
commit 9d6bb0075f
3 changed files with 125 additions and 13 deletions
+1 -1
View File
@@ -1849,7 +1849,7 @@ impl CertAuth {
} else if !self.all_resources().contains_asn(customer) {
return Err(Error::AspaCustomerAsNotEntitled(self.handle().clone(), customer));
} else if let Some(current) = self.aspas.get(customer) {
Ok(current.update_needed(update))
Ok(current.needs_update(update))
} else {
Ok(true)
}