Skip to content
Snippets Groups Projects
Commit e619d3e4 authored by Steven Murray's avatar Steven Murray
Browse files

cta/CTA#301 cta-admin tape ls --all does not list LBP correctly

Fixed
parent 565ecf06
Branches
Tags
No related merge requests found
......@@ -1856,7 +1856,11 @@ void RequestMessage::processTape_Ls(const cta::admin::AdminCmd &admincmd, cta::x
currentRow.push_back(std::to_string(static_cast<unsigned long long>(it->lastFSeq)));
if(it->full) currentRow.push_back("true"); else currentRow.push_back("false");
if(it->disabled) currentRow.push_back("true"); else currentRow.push_back("false");
if(it->lbp) currentRow.push_back("true"); else currentRow.push_back("false");
if(it->lbp) {
if(it->lbp.value()) currentRow.push_back("true"); else currentRow.push_back("false");
} else {
currentRow.push_back("null");
}
if(it->labelLog) {
currentRow.push_back(it->labelLog.value().drive);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment