Skip to content

Commit dffd685

Browse files
committed
fix
1 parent 4dbb238 commit dffd685

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/pulsar/EncryptionContext.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class MessageMetadata;
3434
class Message;
3535

3636
struct PULSAR_PUBLIC EncryptionKey {
37-
std::string keyValue;
37+
std::string value;
3838
std::unordered_map<std::string, std::string> metadata;
3939
};
4040

tests/EncryptionTests.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ TEST(EncryptionTests, testEncryptionContext) {
6464
if (context.has_value()) {
6565
std::cout << i << " keys: ";
6666
for (auto&& key : context.value()->keys()) {
67-
std::cout << key.first << " => " << key.second.keyValue;
67+
std::cout << key.first << " => " << key.second.value;
6868
if (!key.second.metadata.empty()) {
6969
std::cout << " (metadata: ";
7070
for (auto&& entry : key.second.metadata) {

0 commit comments

Comments
 (0)