Print the tenant mode string rather than integer value when reporting that we couldn't create a metacluster
This commit is contained in:
parent
a2a29af56e
commit
ea907f10f5
|
@ -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()) {
|
||||
|
|
Loading…
Reference in New Issue