Propogate use_sudo pattern to all traits that podman can be used in
This commit is contained in:
parent
430d18de8a
commit
883090ee85
14 changed files with 346 additions and 116 deletions
|
|
@ -150,11 +150,6 @@ impl BlueBuildCommand for BuildCommand {
|
|||
fn try_run(&mut self) -> Result<()> {
|
||||
trace!("BuildCommand::try_run()");
|
||||
|
||||
#[cfg(feature = "rechunk")]
|
||||
if !nix::unistd::Uid::effective().is_root() && self.rechunk {
|
||||
bail!("You must be root to use the rechunk feature!");
|
||||
}
|
||||
|
||||
Driver::init(self.drivers);
|
||||
|
||||
Credentials::init(self.credentials.clone());
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue