Add missing newlines in tenant lock fdbcli command output

This commit is contained in:
Markus Pilman 2023-02-27 14:02:29 -07:00
parent 7c19e0d846
commit 6a55f0da26
1 changed files with 2 additions and 2 deletions

View File

@ -739,9 +739,9 @@ ACTOR Future<bool> tenantLockCommand(Reference<IDatabase> db, std::vector<String
wait(TenantAPI::changeLockState(tr.getPtr(), tenantId, desiredLockState, uid));
wait(safeThreadFutureToFuture(tr->commit()));
if (desiredLockState != TenantAPI::TenantLockState::UNLOCKED) {
fmt::print("Locked tenant `{}' with UID `{}'", name.toString(), uid.toString());
fmt::print("Locked tenant `{}' with UID `{}'\n", name.toString(), uid.toString());
} else {
fmt::print("Unlocked tenant `{}'", name.toString());
fmt::print("Unlocked tenant `{}'\n", name.toString());
}
return true;
} catch (Error& e) {