From 68c85f4796b4d45d5e07db57b9374394c278d315 Mon Sep 17 00:00:00 2001 From: wangchuan Date: Mon, 24 Oct 2022 19:18:57 +0800 Subject: [PATCH] [1.3_beta][fix path to relative] --- .../plugin/kerberos/core/util/KerberosConfigUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taier-datasource/taier-datasource-plugin/taier-datasource-plugin-kerberos-core/src/main/java/com/dtstack/taier/datasource/plugin/kerberos/core/util/KerberosConfigUtil.java b/taier-datasource/taier-datasource-plugin/taier-datasource-plugin-kerberos-core/src/main/java/com/dtstack/taier/datasource/plugin/kerberos/core/util/KerberosConfigUtil.java index d5e658ef2b..4df7486458 100644 --- a/taier-datasource/taier-datasource-plugin/taier-datasource-plugin-kerberos-core/src/main/java/com/dtstack/taier/datasource/plugin/kerberos/core/util/KerberosConfigUtil.java +++ b/taier-datasource/taier-datasource-plugin/taier-datasource-plugin-kerberos-core/src/main/java/com/dtstack/taier/datasource/plugin/kerberos/core/util/KerberosConfigUtil.java @@ -37,7 +37,7 @@ public class KerberosConfigUtil { */ public static void changeToRelativePath(Map kerberosConfig, String checkKey) { String path = MapUtils.getString(kerberosConfig, checkKey); - if (StringUtils.isBlank(path) || path.contains("/")) { + if (StringUtils.isBlank(path) || !path.contains("/")) { return; } String[] splitPathArr = path.split("/");