fix compile issues
This commit is contained in:
parent
2d74d10a91
commit
37fa579587
|
@ -123,7 +123,7 @@ bool parseTenantListOptions(std::vector<StringRef> const& tokens,
|
|||
auto filterStrings = value.get().splitAny(","_sr);
|
||||
try {
|
||||
for (auto sref : filterStrings) {
|
||||
filters.push_back(TenantAPI::stringToTenantState(sref.toString()));
|
||||
filters.push_back(MetaclusterAPI::stringToTenantState(sref.toString()));
|
||||
}
|
||||
} catch (Error& e) {
|
||||
fmt::print(stderr, "ERROR: unrecognized tenant state(s) `{}'.\n", value.get().toString());
|
||||
|
|
|
@ -175,7 +175,7 @@ std::string MetaclusterTenantMapEntry::toJson() const {
|
|||
tenantEntry["name"] = binaryToJson(tenantName);
|
||||
tenantEntry["prefix"] = binaryToJson(prefix);
|
||||
|
||||
tenantEntry["tenant_state"] = MetaclusterAPI::TenantStateToString(tenantState);
|
||||
tenantEntry["tenant_state"] = MetaclusterAPI::tenantStateToString(tenantState);
|
||||
tenantEntry["assigned_cluster"] = binaryToJson(assignedCluster);
|
||||
|
||||
if (tenantGroup.present()) {
|
||||
|
|
Loading…
Reference in New Issue