diff --git a/cmdline/CtaAdminCmd.cpp b/cmdline/CtaAdminCmd.cpp index 4cbe83679a207f91910555feab0b5e25f14a6a4a..592507b405ad3ee9f9a390d5ace5381dde3f4838 100644 --- a/cmdline/CtaAdminCmd.cpp +++ b/cmdline/CtaAdminCmd.cpp @@ -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; diff --git a/cmdline/CtaAdminTextFormatter.cpp b/cmdline/CtaAdminTextFormatter.cpp index b7b5cd8d8655b58c29d65cea9846530e03550d7e..03021b3e5a92dbc995a192611aece34113a49326 100644 --- a/cmdline/CtaAdminTextFormatter.cpp +++ b/cmdline/CtaAdminTextFormatter.cpp @@ -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() ); }