Fixed NPE in database migration
This commit is contained in:
parent
40026cf441
commit
ea366b1d29
|
|
@ -1545,7 +1545,7 @@ public class DatabaseChangelog {
|
|||
List<Property> properties = datasource.getDatasourceConfiguration().getProperties();
|
||||
Optional<Property> isSendSessionEnabledOptional = properties
|
||||
.stream()
|
||||
.filter(property -> property.getKey().equals(keyName))
|
||||
.filter(property -> keyName.equals(property.getKey()))
|
||||
.findFirst();
|
||||
|
||||
if (!isSendSessionEnabledOptional.isPresent()) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user