Skip to content

Commit 1512855

Browse files
committed
fix: logic error
1 parent 163f4e2 commit 1512855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cli/flamingock-cli/src/main/java/io/flamingock/cli/config/ConfigLoader.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -121,7 +121,7 @@ public static DatabaseType detectDatabaseType(FlamingockConfig config) {
121121

122122
if (Stream.of(hasMongoDB, hasDynamoDB, hasCouchbase)
123123
.filter(b -> b)
124-
.count()==1) {
124+
.count()>1) {
125125
throw new IllegalArgumentException("Multiple database configurations found. Please configure only one database type.");
126126
}
127127

0 commit comments

Comments
 (0)