Skip to content

Commit

Permalink
Merge pull request #6802 from Pandrex247/FISH-8953-Community
Browse files Browse the repository at this point in the history
FISH-8953 Fix Incorrect Unprocessed Change Showing for Hazelcast Encryption Settings
  • Loading branch information
Pandrex247 authored Jul 5, 2024
2 parents 540e56b + b945708 commit 27c1484
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -689,7 +689,8 @@ public int getPort() {
public UnprocessedChangeEvents changed(PropertyChangeEvent[] pces) {
List<UnprocessedChangeEvent> unprocessedChanges = new ArrayList<>();
for (PropertyChangeEvent pce : pces) {
if (pce.getPropertyName().equalsIgnoreCase("datagrid-encryption-enabled")) {
if (pce.getPropertyName().equalsIgnoreCase("datagrid-encryption-enabled")
&& Boolean.parseBoolean(pce.getOldValue().toString()) != Boolean.parseBoolean(pce.getNewValue().toString())) {
unprocessedChanges.add(new UnprocessedChangeEvent(pce, "Hazelcast encryption settings changed"));
}
}
Expand Down

0 comments on commit 27c1484

Please sign in to comment.