Skip to content

Commit 9c77af3

Browse files
committed
make nitro-cli's debug-mode false by default
1 parent f464188 commit 9c77af3

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

fortanix-vme/eif-tools/src/bin/ftxvme-runner-cargo.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -149,14 +149,13 @@ struct FortanixVmeConfig {
149149
/// Vsock CID is analogous to an IP address.
150150
enclave_cid: Option<String>,
151151

152-
/// `true` by default. This enables debug mode of `nitro-cli run-enclave`.
152+
/// `false` by default. This enables debug mode of `nitro-cli run-enclave`.
153153
debug_mode: bool,
154154
}
155155

156156
impl FortanixVmeConfig {
157157
const DEFAULT_CPU_COUNT: isize = 2;
158158
const DEFAULT_MEMORY: isize = 512;
159-
const DEFAULT_DEBUG_MODE: bool = true;
160159

161160
fn default_eif_path() -> PathBuf {
162161
format!("{}.eif", ARGS[1]).into()
@@ -207,7 +206,7 @@ impl Default for FortanixVmeConfig {
207206
Self {
208207
cpu_count: Some(FortanixVmeConfig::DEFAULT_CPU_COUNT),
209208
memory: FortanixVmeConfig::DEFAULT_MEMORY,
210-
debug_mode: FortanixVmeConfig::DEFAULT_DEBUG_MODE,
209+
debug_mode: false,
211210
enclave_name: None,
212211
cpu_ids: None,
213212
enclave_cid: None,

0 commit comments

Comments
 (0)