Skip to content

Commit

Permalink
feat: update nydusd version
Browse files Browse the repository at this point in the history
  • Loading branch information
akitaSummer committed Feb 27, 2024
1 parent 8dcbffe commit b05258e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -119,3 +119,4 @@ packages/downloader/test/nginx.conf
packages/binding/index.d.ts
.DS_Store
package-lock.json
.vscode
12 changes: 1 addition & 11 deletions packages/deamon/src/config.rs
Original file line number Diff line number Diff line change
Expand Up @@ -290,19 +290,9 @@ impl Overlay {
}
}

let workdir = match &self.workdir {
Some(s) => s,
None => {
return Err(anyhow!(
"workdir is empty, node_modules_dir is {}",
self.node_modules_dir
))
}
};

let mount_str = format!(
r#"mount -t overlay overlay -o lowerdir={},upperdir={},workdir={} {}"#,
self.mnt, self.upper, workdir, self.node_modules_dir
self.mnt, self.upper, &self.workdir, self.node_modules_dir
);
match start_command(&mount_str) {
Ok(output) => {
Expand Down

0 comments on commit b05258e

Please sign in to comment.