healchow commented on code in PR #7157:
URL: https://github.com/apache/inlong/pull/7157#discussion_r1062185420


##########
inlong-agent/agent-plugins/src/main/java/org/apache/inlong/agent/plugin/sources/reader/file/FileReaderOperator.java:
##########
@@ -278,6 +282,9 @@ public void resiterMeta(JobProfile jobConf) {
             return;
         }
         String[] env = jobConf.get(JOB_FILE_META_ENV_LIST).split(COMMA);
+        if (env.length > 0) {

Review Comment:
   If the value of `JOB_FILE_META_ENV_LIST` is "local" or others, but not 
"k8s", then `needMetaData` will also be true. Is this as expected?



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@inlong.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to