@@ -1139,7 +1139,7 @@ async fn test_instance_migration_compatible_cpu_platforms(
11391139 omicron_sled_agent:: sim:: ZpoolConfig :: None ,
11401140 nexus_sled_agent_shared:: inventory:: SledCpuFamily :: AmdTurin ,
11411141 ) ;
1142- let new_sled_id = config. id . clone ( ) ;
1142+ let new_sled_id = config. id ;
11431143
11441144 let _turin_sled = start_sled_and_wait ( cptestctx, config) . await ;
11451145
@@ -1330,7 +1330,7 @@ async fn test_instance_migration_incompatible_cpu_platforms(
13301330 omicron_sled_agent:: sim:: ZpoolConfig :: None ,
13311331 nexus_sled_agent_shared:: inventory:: SledCpuFamily :: AmdTurin ,
13321332 ) ;
1333- let turin_sled_id = config. id . clone ( ) ;
1333+ let turin_sled_id = config. id ;
13341334
13351335 let _turin_sled = start_sled_and_wait ( cptestctx, config) . await ;
13361336
@@ -1409,7 +1409,7 @@ async fn test_instance_migration_unknown_sled_type(
14091409 omicron_sled_agent:: sim:: ZpoolConfig :: None ,
14101410 nexus_sled_agent_shared:: inventory:: SledCpuFamily :: Unknown ,
14111411 ) ;
1412- let new_sled_id = config. id . clone ( ) ;
1412+ let new_sled_id = config. id ;
14131413
14141414 let _unknown_sled = start_sled_and_wait ( cptestctx, config) . await ;
14151415
@@ -6690,7 +6690,7 @@ async fn test_can_start_instance_with_cpu_platform(
66906690 omicron_sled_agent:: sim:: ZpoolConfig :: None ,
66916691 nexus_sled_agent_shared:: inventory:: SledCpuFamily :: AmdTurin ,
66926692 ) ;
6693- let new_sled_id = config. id . clone ( ) ;
6693+ let new_sled_id = config. id ;
66946694
66956695 let _turin_sled = start_sled_and_wait ( cptestctx, config) . await ;
66966696
0 commit comments