From 7d0336ac596a847655d9d74736599a9a9e54706f Mon Sep 17 00:00:00 2001 From: Sandro-Alessio Gierens Date: Mon, 11 Mar 2024 13:35:24 +0100 Subject: [PATCH] fix(cloud): add missing cfg for block_storage feature to list_volumes Signed-off-by: Sandro-Alessio Gierens --- src/cloud.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/src/cloud.rs b/src/cloud.rs index a3050a93eb..739af59879 100644 --- a/src/cloud.rs +++ b/src/cloud.rs @@ -768,6 +768,7 @@ impl Cloud { } /// List all volumes. + #[cfg(feature = "block-storage")] pub async fn list_volumes(&self) -> Result> { self.find_volumes().all().await }