Skip to content

Commit d5970a3

Browse files
committed
switch logic branches so that change extends beyond 3.x
1 parent 4192248 commit d5970a3

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

rust/operator-binary/src/product_logging.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,15 +101,15 @@ LOGGING_CONFIG['loggers']['{name}']['level'] = {level}
101101
output
102102
});
103103

104-
let remote_task_log = if resolved_product_image.product_version.starts_with("3") {
104+
let remote_task_log = if resolved_product_image.product_version.starts_with("2") {
105+
""
106+
} else {
105107
"
106108
# This will cause the relevant RemoteLogIO handler to be initialized
107109
REMOTE_TASK_LOG = airflow_local_settings.REMOTE_TASK_LOG
108110
log = logging.getLogger(__name__)
109111
log.info('Custom logging remote task log %s', REMOTE_TASK_LOG)
110112
"
111-
} else {
112-
""
113113
};
114114

115115
format!(

0 commit comments

Comments
 (0)