This is an automated email from the ASF dual-hosted git repository.
qiaojialin pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-iotdb.git
The following commit(s) were added to refs/heads/master by this push:
new 18a3634 fix IoTDBConfigCheck
18a3634 is described below
commit 18a3634ca9c9e131e1c33f6add1240df712ef4bc
Author: qiaojialin <[email protected]>
AuthorDate: Fri May 29 21:26:29 2020 +0800
fix IoTDBConfigCheck
---
server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git
a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java
b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java
index 0c090ac..a665d37 100644
--- a/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java
+++ b/server/src/main/java/org/apache/iotdb/db/conf/IoTDBConfigCheck.java
@@ -235,7 +235,7 @@ public class IoTDBConfigCheck {
private void checkProperties() throws IOException {
for (Entry<String, String> entry : systemProperties.entrySet()) {
- if (!properties.contains(entry.getKey())) {
+ if (!properties.containsKey(entry.getKey())) {
upgradePropertiesFileFromBrokenFile();
logger.info("repair system.properties, lack {}", entry.getKey());
}