mirror of https://github.com/apache/kafka.git
KAFKA-15156 Update cipherInformation correctly in DefaultChannelMetadataRegistry (#16169)
Reviewers: Chia-Ping Tsai <chia7712@gmail.com>
This commit is contained in:
parent
a68a1cce82
commit
04e6ef4750
|
@ -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
|
Loading…
Reference in New Issue