@@ -3881,8 +3881,7 @@ async fn test_cannot_detach_boot_device(cptestctx: &ControlPlaneTestContext) {
38813881 assert_eq ! ( err. message, "boot disk cannot be detached" ) ;
38823882
38833883 // Change the instance's boot disk.
3884- let url_instance_update =
3885- format ! ( "/v1/instances/{}/update" , instance. identity. id) ;
3884+ let url_instance_update = format ! ( "/v1/instances/{}" , instance. identity. id) ;
38863885
38873886 let builder =
38883887 RequestBuilder :: new ( client, http:: Method :: PUT , & url_instance_update)
@@ -3983,8 +3982,7 @@ async fn test_boot_device_can_be_changed(cptestctx: &ControlPlaneTestContext) {
39833982 assert_eq ! ( instance. boot_device_id, Some ( disks[ 0 ] . identity. id. clone( ) ) ) ;
39843983
39853984 // Change the instance's boot disk.
3986- let url_instance_update =
3987- format ! ( "/v1/instances/{}/update" , instance. identity. id) ;
3985+ let url_instance_update = format ! ( "/v1/instances/{}" , instance. identity. id) ;
39883986
39893987 let builder =
39903988 RequestBuilder :: new ( client, http:: Method :: PUT , & url_instance_update)
@@ -4060,8 +4058,7 @@ async fn test_boot_device_must_be_attached(
40604058
40614059 // Update the instance's boot device to the unattached disk. This should
40624060 // fail.
4063- let url_instance_update =
4064- format ! ( "/v1/instances/{}/update" , instance. identity. id) ;
4061+ let url_instance_update = format ! ( "/v1/instances/{}" , instance. identity. id) ;
40654062
40664063 let builder =
40674064 RequestBuilder :: new ( client, http:: Method :: PUT , & url_instance_update)
0 commit comments