Skip to content

Commit

Permalink
mz secret positional bool changed to flag
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-hunt-materialize committed Jan 2, 2025
1 parent 3538cae commit f95dd0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions src/mz/src/bin/mz/command/secret.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ pub enum SecretSubcommand {
/// The name of the secret.
name: String,
/// Overwrite the existing value of the secret, if it exists.
#[clap(long)]
force: bool,
},
}
Expand Down
2 changes: 1 addition & 1 deletion test/mz-e2e/mzcompose.py
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ def workflow_default(c: Composition, parser: WorkflowArgumentParser) -> None:

# Assert using force
output = c.run(
"mz", "secret", "create", "CI_SECRET", "force", stdin=secret, capture=True
"mz", "secret", "create", "CI_SECRET", "--force", stdin=secret, capture=True
)
assert output.returncode == 0

Expand Down

0 comments on commit f95dd0d

Please sign in to comment.