mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +00:00
removes all dbg! macros
This commit is contained in:
@@ -208,18 +208,18 @@ impl DockerAction {
|
|||||||
} else {
|
} else {
|
||||||
continue;
|
continue;
|
||||||
};
|
};
|
||||||
let src = dbg!(volume.path_for(ctx, pkg_id, pkg_version, volume_id));
|
let src = volume.path_for(ctx, pkg_id, pkg_version, volume_id);
|
||||||
if tokio::fs::metadata(&src).await.is_err() {
|
if tokio::fs::metadata(&src).await.is_err() {
|
||||||
continue;
|
continue;
|
||||||
}
|
}
|
||||||
res.push(OsStr::new("--mount").into());
|
res.push(OsStr::new("--mount").into());
|
||||||
res.push(
|
res.push(
|
||||||
dbg!(OsString::from(format!(
|
OsString::from(format!(
|
||||||
"type=bind,src={},dst={}{}",
|
"type=bind,src={},dst={}{}",
|
||||||
src.display(),
|
src.display(),
|
||||||
dst.display(),
|
dst.display(),
|
||||||
if volume.readonly() { ",readonly" } else { "" }
|
if volume.readonly() { ",readonly" } else { "" }
|
||||||
)))
|
))
|
||||||
.into(),
|
.into(),
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user