Merge pull request #9584 from sfc-gh-ajbeamon/fix-metacluster-create-error-msg

Fix metacluster create error message
This commit is contained in:
A.J. Beamon 2023-03-06 10:30:03 -08:00 committed by GitHub
commit 85c3cf702c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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()) {