Skip to content

Commit

Permalink
fix(cloud): add missing cfg for block_storage feature to list_volumes
Browse files Browse the repository at this point in the history
Signed-off-by: Sandro-Alessio Gierens <[email protected]>
  • Loading branch information
gierens committed Mar 11, 2024
1 parent d98b25b commit 7d0336a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/cloud.rs
Original file line number Diff line number Diff line change
Expand Up @@ -768,6 +768,7 @@ impl Cloud {
}

/// List all volumes.
#[cfg(feature = "block-storage")]
pub async fn list_volumes(&self) -> Result<Vec<Volume>> {
self.find_volumes().all().await
}
Expand Down

0 comments on commit 7d0336a

Please sign in to comment.