Skip to content

Commit

Permalink
fix(service/webhdfs): fix webhdfs config builder for disable_list_bat…
Browse files Browse the repository at this point in the history
…ch (#2509)

feat(service/webhdfs): fix webhdfs config builder for disable_list_batch
  • Loading branch information
morristai authored Jun 23, 2023
1 parent cbaa315 commit 1aa4877
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions core/src/services/webhdfs/backend.rs
Original file line number Diff line number Diff line change
Expand Up @@ -129,8 +129,8 @@ impl Builder for WebhdfsBuilder {
map.get("endpoint").map(|v| builder.endpoint(v));
map.get("delegation").map(|v| builder.delegation(v));
map.get("disable_list_batch")
.map(|v| v == "true")
.map(|_v| builder.disable_list_batch());
.filter(|v| v == &"true")
.map(|_| builder.disable_list_batch());

builder
}
Expand Down

0 comments on commit 1aa4877

Please sign in to comment.