Skip to content

Commit 1b21005

Browse files
committed
how did that not rustfmt before???
1 parent da9e29c commit 1b21005

File tree

2 files changed

+8
-8
lines changed

2 files changed

+8
-8
lines changed

nexus/src/app/instance.rs

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1085,11 +1085,13 @@ impl super::Nexus {
10851085
"boot_disk_id" => ?instance_boot_disk_id,
10861086
"instance id" => %db_instance.id());
10871087

1088-
return Err(InstanceStateChangeError::Other(Error::internal_error(&format!(
1089-
"instance {} has boot disk {:?} but it is not attached",
1090-
db_instance.id(),
1091-
db_instance.boot_disk_id.as_ref(),
1092-
))));
1088+
return Err(InstanceStateChangeError::Other(
1089+
Error::internal_error(&format!(
1090+
"instance {} has boot disk {:?} but it is not attached",
1091+
db_instance.id(),
1092+
db_instance.boot_disk_id.as_ref(),
1093+
)),
1094+
));
10931095
}
10941096
}
10951097

nexus/tests/integration_tests/instances.rs

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4007,9 +4007,7 @@ async fn test_boot_disk_can_be_changed(cptestctx: &ControlPlaneTestContext) {
40074007
// Create an instance without a boot disk, fail to set the boot disk to a
40084008
// detached disk, then attach the disk and make it a boot disk.
40094009
#[nexus_test]
4010-
async fn test_boot_disk_must_be_attached(
4011-
cptestctx: &ControlPlaneTestContext,
4012-
) {
4010+
async fn test_boot_disk_must_be_attached(cptestctx: &ControlPlaneTestContext) {
40134011
let client = &cptestctx.external_client;
40144012
let instance_name = "nifs";
40154013

0 commit comments

Comments
 (0)