Skip to content

Commit

Permalink
As path
Browse files Browse the repository at this point in the history
  • Loading branch information
ebatsell committed Jan 21, 2025
1 parent 825c17b commit 7f630c0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tip-router-operator-cli/src/backup_snapshots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -167,7 +167,7 @@ impl BackupSnapshotMonitor {
oldest_snapshot.end_slot,
oldest_snapshot.path
);
std::fs::remove_file(oldest_snapshot.path)?;
std::fs::remove_file(oldest_snapshot.path.as_path())?;
}

Ok(())
Expand Down

0 comments on commit 7f630c0

Please sign in to comment.