chore!: Remove force arg for build since it is no longer in use
This commit is contained in:
parent
752c957914
commit
b376a5a484
3 changed files with 0 additions and 13 deletions
|
|
@ -82,15 +82,6 @@ pub struct BuildCommand {
|
|||
#[builder(default)]
|
||||
retry_count: u8,
|
||||
|
||||
/// Allow `bluebuild` to overwrite an existing
|
||||
/// Containerfile without confirmation.
|
||||
///
|
||||
/// This is not needed if the Containerfile is in
|
||||
/// .gitignore or has already been built by `bluebuild`.
|
||||
#[arg(short, long)]
|
||||
#[builder(default)]
|
||||
force: bool,
|
||||
|
||||
/// Archives the built image into a tarfile
|
||||
/// in the specified directory.
|
||||
#[arg(short, long)]
|
||||
|
|
|
|||
|
|
@ -70,7 +70,6 @@ impl BlueBuildCommand for UpgradeCommand {
|
|||
let mut build = build
|
||||
.archive(LOCAL_BUILD)
|
||||
.drivers(self.common.drivers)
|
||||
.force(self.common.force)
|
||||
.build();
|
||||
|
||||
let image_name = recipe.name.to_lowercase().replace('/', "_");
|
||||
|
|
@ -128,7 +127,6 @@ impl BlueBuildCommand for RebaseCommand {
|
|||
let mut build = build
|
||||
.archive(LOCAL_BUILD)
|
||||
.drivers(self.common.drivers)
|
||||
.force(self.common.force)
|
||||
.build();
|
||||
|
||||
let image_name = recipe.name.to_lowercase().replace('/', "_");
|
||||
|
|
|
|||
|
|
@ -70,14 +70,12 @@ impl BlueBuildCommand for SwitchCommand {
|
|||
BuildCommand::builder()
|
||||
.recipe([self.recipe.clone()])
|
||||
.archive(tempdir.path())
|
||||
.force(self.force)
|
||||
.build()
|
||||
.try_run()?;
|
||||
#[cfg(not(feature = "multi-recipe"))]
|
||||
BuildCommand::builder()
|
||||
.recipe(self.recipe.clone())
|
||||
.archive(tempdir.path())
|
||||
.force(self.force)
|
||||
.build()
|
||||
.try_run()?;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue