Skip to content

Commit

Permalink
build(deps): bump liboverdrop from 0.0.2 to 0.1.0
Browse files Browse the repository at this point in the history
Bumps [liboverdrop](https://github.com/coreos/liboverdrop-rs) from 0.0.2 to 0.1.0.
- [Release notes](https://github.com/coreos/liboverdrop-rs/releases)
- [Commits](coreos/liboverdrop-rs@0.0.2...0.1.0)

---
updated-dependencies:
- dependency-name: liboverdrop
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
  • Loading branch information
dependabot[bot] authored and cgwalters committed Feb 4, 2023
1 parent 6ede4a9 commit 9a908ac
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 6 deletions.
4 changes: 2 additions & 2 deletions 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
Expand Up @@ -26,7 +26,7 @@ glob = "0.3"
intervaltree = "0.2.7"
lazy_static = "1.4"
libc = "0.2"
liboverdrop = "0.0.2"
liboverdrop = "0.1.0"
libsystemd = "0.5"
log = "0.4"
maplit = "1.0"
Expand Down
4 changes: 1 addition & 3 deletions src/config/inputs.rs
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,8 @@ impl ConfigInput {
common_path: &str,
extensions: Vec<String>,
) -> Result<Self> {
let scanner = liboverdrop::FragmentScanner::new(dirs, common_path, true, extensions);

let mut fragments = Vec::new();
for (_, fpath) in scanner.scan() {
for (_, fpath) in liboverdrop::scan(dirs, common_path, extensions.as_slice(), true) {
trace!("reading config fragment '{}'", fpath.display());

let content = std::fs::read(&fpath)
Expand Down

0 comments on commit 9a908ac

Please sign in to comment.