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

[cta-admin] Fixes minor formatting errors

parent e3d0cb5f
No related branches found
No related tags found
No related merge requests found
......@@ -521,10 +521,10 @@ void TextFormatter::print(const LogicalLibraryLsItem &llls_item) {
llls_item.is_disabled(),
llls_item.creation_log().username(),
llls_item.creation_log().host(),
llls_item.creation_log().time(),
timeToStr(llls_item.creation_log().time()),
llls_item.last_modification_log().username(),
llls_item.last_modification_log().host(),
llls_item.last_modification_log().time(),
timeToStr(llls_item.last_modification_log().time()),
llls_item.comment()
);
}
......@@ -558,10 +558,10 @@ void TextFormatter::print(const MountPolicyLsItem &mpls_item) {
mpls_item.max_drives_allowed(),
mpls_item.creation_log().username(),
mpls_item.creation_log().host(),
mpls_item.creation_log().time(),
timeToStr(mpls_item.creation_log().time()),
mpls_item.last_modification_log().username(),
mpls_item.last_modification_log().host(),
mpls_item.last_modification_log().time(),
timeToStr(mpls_item.last_modification_log().time()),
mpls_item.comment()
);
}
......@@ -727,10 +727,10 @@ void TextFormatter::print(const StorageClassLsItem &scls_item) {
scls_item.nb_copies(),
scls_item.creation_log().username(),
scls_item.creation_log().host(),
scls_item.creation_log().time(),
timeToStr(scls_item.creation_log().time()),
scls_item.last_modification_log().username(),
scls_item.last_modification_log().host(),
scls_item.last_modification_log().time(),
timeToStr(scls_item.last_modification_log().time()),
scls_item.comment()
);
}
......
......@@ -34,6 +34,7 @@ using XrdSsiPb::PbException;
#include "XrdCtaGroupMountRuleLs.hpp"
#include "XrdCtaListPendingQueue.hpp"
#include "XrdCtaLogicalLibraryLs.hpp"
#include "XrdCtaMountPolicyLs.hpp"
#include "XrdCtaRepackLs.hpp"
#include "XrdCtaRequesterMountRuleLs.hpp"
#include "XrdCtaShowQueues.hpp"
......@@ -1093,7 +1094,7 @@ void RequestMessage::processMountPolicy_Ls(cta::xrd::Response &response, XrdSsiS
using namespace cta::admin;
// Create a XrdSsi stream object to return the results
stream = new LogicalLibraryLsStream(*this, m_catalogue, m_scheduler);
stream = new MountPolicyLsStream(*this, m_catalogue, m_scheduler);
response.set_show_header(HeaderType::MOUNTPOLICY_LS);
response.set_type(cta::xrd::Response::RSP_SUCCESS);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment