diff --git a/control-plane/agents/src/bin/core/tests/volume/switchover.rs b/control-plane/agents/src/bin/core/tests/volume/switchover.rs index 430596bda..6079ef833 100644 --- a/control-plane/agents/src/bin/core/tests/volume/switchover.rs +++ b/control-plane/agents/src/bin/core/tests/volume/switchover.rs @@ -164,9 +164,7 @@ async fn old_nexus_delete_after_vol_destroy() { .expect("failed to start container"); sleep(Duration::from_secs(5)).await; - let spec = cluster - .rest_v00() - .specs_api() + let spec = spec_client .get_specs() .await .expect("expected to retrieve specs");