Skip to content

Commit

Permalink
refactor(cli): Remove unnecessary pinning
Browse files Browse the repository at this point in the history
  • Loading branch information
DahnJ committed Feb 22, 2025
1 parent 7cdd087 commit 1c857e6
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions icechunk/src/cli/interface.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ use serde_yaml_ng;
use std::collections::HashMap;
use std::path::PathBuf;
use std::sync::Arc;
use tokio::pin;

use anyhow::{Context, Ok, Result};

Expand Down Expand Up @@ -136,7 +135,6 @@ async fn snapshot_list(list_cmd: ListCommand) -> Result<()> {

let branch_ref = VersionInfo::BranchTipRef(list_cmd.branch.clone());
let ancestry = repository.ancestry(&branch_ref).await?;
pin!(ancestry);
ancestry
.take(list_cmd.n)
.for_each(|snapshot| async move {
Expand Down

0 comments on commit 1c857e6

Please sign in to comment.