You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by du...@apache.org on 2022/09/20 00:32:13 UTC

[shardingsphere] branch master updated: Fixes encrypt error log. (#21069)

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

duanzhengqiang pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shardingsphere.git


The following commit(s) were added to refs/heads/master by this push:
     new 450bd944ca9 Fixes encrypt error log. (#21069)
450bd944ca9 is described below

commit 450bd944ca93af931560a7c8ef5769277c5b4d22
Author: Zonglei Dong <do...@apache.org>
AuthorDate: Tue Sep 20 08:32:04 2022 +0800

    Fixes encrypt error log. (#21069)
---
 .../encrypt/checker/AbstractEncryptRuleConfigurationChecker.java        | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/checker/AbstractEncryptRuleConfigurationChecker.java b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/checker/AbstractEncryptRuleConfigurationChecker.java
index c1f02c1871c..d861dbbea02 100644
--- a/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/checker/AbstractEncryptRuleConfigurationChecker.java
+++ b/shardingsphere-features/shardingsphere-encrypt/shardingsphere-encrypt-core/src/main/java/org/apache/shardingsphere/encrypt/checker/AbstractEncryptRuleConfigurationChecker.java
@@ -68,7 +68,7 @@ public abstract class AbstractEncryptRuleConfigurationChecker<T extends RuleConf
         Preconditions.checkState(!Strings.isNullOrEmpty(column.getAssistedQueryEncryptorName()),
                 "Assisted query encryptor name of `%s` can not be null in database `%s`.", column.getLogicColumn(), databaseName);
         Preconditions.checkState(encryptors.contains(column.getAssistedQueryEncryptorName()),
-                "Can not find assisted query encryptor `%s` in database `%s`.", column.getEncryptorName(), databaseName);
+                "Can not find assisted query encryptor `%s` in database `%s`.", column.getAssistedQueryEncryptorName(), databaseName);
     }
     
     protected abstract Collection<String> getEncryptors(T config);