Skip to content

Commit aeb7f40

Browse files
authored
Merge pull request #139 from oniku-2929/fix/logLength
Chart value "composer.logLength" doesn't affect.
2 parents c68c63d + 90b4971 commit aeb7f40

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core-dump-agent/src/main.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -474,7 +474,7 @@ fn create_env_file(host_location: &str) -> Result<(), std::io::Error> {
474474
let filename_template = env::var("COMP_FILENAME_TEMPLATE").unwrap_or_else(|_| {
475475
"{uuid}-dump-{timestamp}-{hostname}-{exe_name}-{pid}-{signal}".to_string()
476476
});
477-
let log_length = env::var("LOG_LENGTH").unwrap_or_else(|_| "500".to_string());
477+
let log_length = env::var("COMP_LOG_LENGTH").unwrap_or_else(|_| "500".to_string());
478478
let pod_selector_label = env::var("COMP_POD_SELECTOR_LABEL").unwrap_or_default();
479479
let timeout = env::var("COMP_TIMEOUT").unwrap_or_else(|_| "600".to_string());
480480

0 commit comments

Comments
 (0)