Skip to content

Commit

Permalink
rustfmt
Browse files Browse the repository at this point in the history
  • Loading branch information
davepacheco committed Oct 17, 2023
1 parent 75f12cb commit df11c57
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 6 deletions.
2 changes: 1 addition & 1 deletion nexus/db-queries/src/db/datastore/inventory.rs
Original file line number Diff line number Diff line change
Expand Up @@ -120,7 +120,7 @@ impl DataStore {
// we've found. Like baseboards, these might already be present and
// rows in this table are not scoped to a particular collection
// because they only map (immutable) identifiers to UUIDs.
{
{
use db::schema::sw_caboose::dsl;
let _ = diesel::insert_into(dsl::sw_caboose)
.values(cabooses)
Expand Down
13 changes: 8 additions & 5 deletions nexus/test-utils/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -397,11 +397,14 @@ impl<'a, N: NexusServer> ControlPlaneTestContextBuilder<'a, N> {
.internal_dns_config
.host_zone(fake_mgs_zone_id, *v6addr.ip())
.expect("Failed to add DNS for MGS zone");
self.rack_init_builder.internal_dns_config.service_backend_zone(
internal_dns::ServiceName::ManagementGatewayService,
&zone,
v6addr.port(),
).expect("Failed to add DNS for MGS service");
self.rack_init_builder
.internal_dns_config
.service_backend_zone(
internal_dns::ServiceName::ManagementGatewayService,
&zone,
v6addr.port(),
)
.expect("Failed to add DNS for MGS service");
self.gateway = Some(gateway);
}

Expand Down

0 comments on commit df11c57

Please sign in to comment.