Print the tenant mode string rather than integer value when reporting that we couldn't create a metacluster

This commit is contained in:
A.J. Beamon 2023-03-06 09:25:50 -08:00
parent a2a29af56e
commit ea907f10f5
1 changed files with 1 additions and 1 deletions

View File

@ -578,7 +578,7 @@ Future<Optional<std::string>> createMetacluster(Reference<DB> db,
TenantMode tenantMode = wait(tenantModeFuture);
if (tenantMode != TenantMode::DISABLED) {
return fmt::format("cluster is configured with tenant mode `{}' when tenants should be disabled",
tenantMode);
tenantMode.toString());
}
if (!metaclusterUid.present()) {