Commit 93f3e91f authored by Steven Murray's avatar Steven Murray
Browse files

cta/CTA#139 cta af ls --vid XXXXX command times out if there are many files on a tape

Moved the path column of the output of the "cta archivefile ls"
command to the very end of the line.  This was done because the
path column is the only real random width column.
parent 7de54158
......@@ -55,7 +55,7 @@ XrdSfsXferSize ListArchiveFilesCmd::read(XrdSfsFileOffset offset, char *buffer,
if(m_displayHeader) {
m_readBuffer += "\x1b[31;1mid copy no vid fseq block id instance disk id size checksum type checksum value "
"storage class owner group path creation time\x1b[0m\n";
"storage class owner group creation time path\x1b[0m\n";
}
}
......@@ -137,8 +137,8 @@ void ListArchiveFilesCmd::refreshReadBuffer() {
archiveFile.storageClass + " " +
archiveFile.diskFileInfo.owner + " " +
archiveFile.diskFileInfo.group + " " +
archiveFile.diskFileInfo.path + " " +
std::to_string((unsigned long long) archiveFile.creationTime) + "\n";
std::to_string((unsigned long long) archiveFile.creationTime) + " " +
archiveFile.diskFileInfo.path + "\n";
}
}
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment