KAFKA-15156 Update cipherInformation correctly in DefaultChannelMetadataRegistry (#16169)

Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
GANESH SADANALA 2024-06-03 12:32:47 -04:00 committed by GitHub
parent a68a1cce82
commit 04e6ef4750
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 3 deletions

View File

@ -22,9 +22,7 @@ public class DefaultChannelMetadataRegistry implements ChannelMetadataRegistry {
@Override
public void registerCipherInformation(final CipherInformation cipherInformation) {
if (this.cipherInformation != null) {
this.cipherInformation = cipherInformation;
}
this.cipherInformation = cipherInformation;
}
@Override