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 }