Skip to content

Commit

Permalink
GCP list bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
abdolence committed Aug 4, 2024
1 parent e1a827d commit df4d7aa
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 2 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,10 @@ env:
GITHUB_TOKEN: ${{ github.token }}
RUST_BACKTRACE: 1

concurrency:
group: ${{ github.workflow }}-${{ github.ref_protected && github.run_id || github.event.pull_request.number || github.ref }}
cancel-in-progress: false

jobs:
test:
name: ${{ matrix.platform.os_name }} with rust ${{ matrix.toolchain }}
Expand Down
2 changes: 1 addition & 1 deletion Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "redacter"
version = "0.1.0"
version = "0.1.2"
edition = "2021"
authors = ["Abdulla Abdurakhmanov <[email protected]>"]
license = "Apache-2.0"
Expand Down
1 change: 1 addition & 0 deletions src/filesystems/gcs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ impl<'a> GoogleCloudStorageFileSystem<'a> {
Some(items) => Ok({
let all_found: Vec<FileSystemRef> = items
.into_iter()
.filter(|item| item.name.iter().all(|key| !key.ends_with('/')))
.filter_map(|item| {
item.name.map(|name| FileSystemRef {
relative_path: name.trim_start_matches(&self.object_name).into(),
Expand Down

0 comments on commit df4d7aa

Please sign in to comment.