Skip to content
Snippets Groups Projects
Commit 6742c569 authored by Michael Davis's avatar Michael Davis
Browse files

[cta-admin] Fixes streaming text display for "cta-admin ar ls"

parent a870b40a
Branches
Tags
No related merge requests found
......@@ -239,6 +239,7 @@ void CtaAdminCmd::send() const
case HeaderType::ADMIN_LS: formattedText.printAdLsHeader(); break;
case HeaderType::ARCHIVEFILE_LS: formattedText.printAfLsHeader(); break;
case HeaderType::ARCHIVEFILE_LS_SUMMARY: formattedText.printAfLsSummaryHeader(); break;
case HeaderType::ARCHIVEROUTE_LS: formattedText.printArLsHeader(); break;
case HeaderType::FAILEDREQUEST_LS: formattedText.printFrLsHeader(); break;
case HeaderType::FAILEDREQUEST_LS_SUMMARY: formattedText.printFrLsSummaryHeader(); break;
case HeaderType::LISTPENDINGARCHIVES: formattedText.printLpaHeader(); break;
......
......@@ -206,10 +206,10 @@ void TextFormatter::print(const cta::admin::ArchiveRouteLsItem &arls_item) {
arls_item.tapepool(),
arls_item.creation_log().username(),
arls_item.creation_log().host(),
arls_item.creation_log().time(),
timeToStr(arls_item.creation_log().time()),
arls_item.last_modification_log().username(),
arls_item.last_modification_log().host(),
arls_item.last_modification_log().time(),
timeToStr(arls_item.last_modification_log().time()),
arls_item.comment()
);
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment