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
|
@Override
|
||||||
public void registerCipherInformation(final CipherInformation cipherInformation) {
|
public void registerCipherInformation(final CipherInformation cipherInformation) {
|
||||||
if (this.cipherInformation != null) {
|
this.cipherInformation = cipherInformation;
|
||||||
this.cipherInformation = cipherInformation;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
Loading…
Reference in New Issue