Skip to content

Commit

Permalink
fix: Set gzip to default compression format
Browse files Browse the repository at this point in the history
Turns out rpm-ostree doesn't quite support the new compression format yet.
  • Loading branch information
gmpinder committed Mar 24, 2024
1 parent d0e1b7c commit b515dcc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/commands/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ pub struct BuildCommand {

/// The compression format the images
/// will be pushed in.
#[arg(short, long, default_value_t = CompressionType::Zstd)]
#[arg(short, long, default_value_t = CompressionType::Gzip)]
#[builder(default)]
compression_format: CompressionType,

Expand Down
2 changes: 1 addition & 1 deletion src/drivers/opts/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ use typed_builder::TypedBuilder;
#[derive(Debug, Copy, Clone, Default, ValueEnum)]
pub enum CompressionType {
#[default]
Zstd,
Gzip,
Zstd,
}

impl std::fmt::Display for CompressionType {
Expand Down

0 comments on commit b515dcc

Please sign in to comment.