Skip to content

Commit 07a2a6a

Browse files
committed
fix ut
1 parent b57f1c6 commit 07a2a6a

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

lib/RetryableLookupService.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
*/
1919
#pragma once
2020

21+
#include <string>
22+
2123
#include "LookupDataResult.h"
2224
#include "LookupService.h"
2325
#include "NamespaceName.h"
@@ -64,7 +66,7 @@ class RetryableLookupService : public LookupService {
6466
Future<Result, NamespaceTopicsPtr> getTopicsOfNamespaceAsync(
6567
const NamespaceNamePtr& nsName, CommandGetTopicsOfNamespace_Mode mode) override {
6668
return namespaceLookupCache_->run(
67-
"get-topics-of-namespace-" + nsName->toString(),
69+
"get-topics-of-namespace-" + nsName->toString() + "-" + std::to_string(mode),
6870
[this, nsName, mode] { return lookupService_->getTopicsOfNamespaceAsync(nsName, mode); });
6971
}
7072

0 commit comments

Comments
 (0)