From 044556a508a021e566026923ec0b153dc49ecd3f Mon Sep 17 00:00:00 2001 From: Abhilash Shetty Date: Thu, 25 May 2023 13:11:46 +0000 Subject: [PATCH] fix(nexus_cleanup): cleanup old nexuses post volume destroy Signed-off-by: Abhilash Shetty --- control-plane/agents/src/bin/core/tests/volume/switchover.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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");