Skip to content

Commit

Permalink
feed fmt
Browse files Browse the repository at this point in the history
  • Loading branch information
rcgoodfellow committed May 2, 2024
1 parent 475e0d5 commit 2890274
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions nexus/src/app/background/sync_switch_configuration.rs
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,9 @@ use futures::future::BoxFuture;
use futures::FutureExt;
use mg_admin_client::types::{
AddStaticRoute4Request, ApplyRequest, BgpPeerConfig, CheckerSource,
DeleteStaticRoute4Request, ImportExportPolicy as MgImportExportPolicy, Prefix4, ShaperSource,
StaticRoute4, StaticRoute4List, Prefix as MgPrefix, Prefix6
DeleteStaticRoute4Request, ImportExportPolicy as MgImportExportPolicy,
Prefix as MgPrefix, Prefix4, Prefix6, ShaperSource, StaticRoute4,
StaticRoute4List,
};
use nexus_db_queries::{
context::OpContext,
Expand All @@ -42,8 +43,8 @@ use omicron_common::{
address::{get_sled_address, Ipv6Subnet},
api::{
external::{DataPageParams, SwitchLocation},
internal::shared::ParseSwitchLocationError,
internal::shared::ImportExportPolicy,
internal::shared::ParseSwitchLocationError,
},
};
use serde_json::json;
Expand Down Expand Up @@ -665,7 +666,7 @@ impl BackgroundTask for SwitchPortSettingsManager {
Some(list) => {
MgImportExportPolicy::Allow(list
.into_iter()
.map(|x|
.map(|x|
match x.prefix {
IpNetwork::V4(p) => MgPrefix::V4(
Prefix4{
Expand Down Expand Up @@ -715,7 +716,7 @@ impl BackgroundTask for SwitchPortSettingsManager {
Some(list) => {
MgImportExportPolicy::Allow(list
.into_iter()
.map(|x|
.map(|x|
match x.prefix {
IpNetwork::V4(p) => MgPrefix::V4(
Prefix4{
Expand Down

0 comments on commit 2890274

Please sign in to comment.