You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ozhera.apache.org by wa...@apache.org on 2025/07/09 07:10:32 UTC

(ozhera) 01/01: Revert "feat: add matrix app set deploy space field conditional statement"

This is an automated email from the ASF dual-hosted git repository.

wangtao29 pushed a commit to branch revert-583-feat_platform
in repository https://gitbox.apache.org/repos/asf/ozhera.git

commit 21e32fe0ebfb54f455bf1a4cbba9f5e29eb0a796
Author: wtt <30...@users.noreply.github.com>
AuthorDate: Wed Jul 9 15:10:25 2025 +0800

    Revert "feat: add matrix app set deploy space field conditional statement"
---
 ozhera-log/log-common/pom.xml                                           | 1 -
 .../log-common/src/main/java/org/apache/ozhera/log/common/Constant.java | 2 --
 .../org/apache/ozhera/log/manager/service/impl/LogTailServiceImpl.java  | 2 +-
 3 files changed, 1 insertion(+), 4 deletions(-)

diff --git a/ozhera-log/log-common/pom.xml b/ozhera-log/log-common/pom.xml
index 8238f903..ecfd9f6c 100644
--- a/ozhera-log/log-common/pom.xml
+++ b/ozhera-log/log-common/pom.xml
@@ -27,7 +27,6 @@ http://www.apache.org/licenses/LICENSE-2.0
     </parent>
 
     <artifactId>log-common</artifactId>
-    <version>2.2.7-SNAPSHOT</version>
     <modelVersion>4.0.0</modelVersion>
 
     <properties>
diff --git a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Constant.java b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Constant.java
index 2eaf1820..cc98f849 100644
--- a/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Constant.java
+++ b/ozhera-log/log-common/src/main/java/org/apache/ozhera/log/common/Constant.java
@@ -140,8 +140,6 @@ public class Constant {
 
     public static final String MIFAAS_APP_TYPE_TEXT = "serverLess";
 
-    public static final Integer MATRIX_APP_TYPE_CODE = 6;
-
     /**
      * RocketMQ data monitoring
      */
diff --git a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImpl.java b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImpl.java
index f575d93b..ccae672d 100644
--- a/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImpl.java
+++ b/ozhera-log/log-manager/src/main/java/org/apache/ozhera/log/manager/service/impl/LogTailServiceImpl.java
@@ -672,7 +672,7 @@ public class LogTailServiceImpl extends BaseService implements LogTailService {
         }
         tailExtensionService.logTailDoExtraFiled(milogLogtailDo, logStoreDO, logTailParam);
         milogLogtailDo.setDeployWay(logTailParam.getDeployWay());
-        if (logStoreDO.isPlatformResourceStore() || logTailParam.getAppType().equals(MATRIX_APP_TYPE_CODE)) {
+        if (logStoreDO.isPlatformResourceStore()) {
             milogLogtailDo.setDeploySpace((StringUtils.isNotEmpty(logTailParam.getDeploySpace()) ? logTailParam.getDeploySpace().trim() : ""));
         }
         milogLogtailDo.setFirstLineReg((StringUtils.isNotEmpty(logTailParam.getFirstLineReg()) ? logTailParam.getFirstLineReg() : ""));


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@ozhera.apache.org
For additional commands, e-mail: commits-help@ozhera.apache.org