HDFS-14569. Result of crypto -listZones is not formatted properly. Contributed by hemanthboyina.

(cherry picked from 0f2dad6679b7fc35474a3d33dc40b0db89bb1d80)
(cherry picked from 9c9920897de182c3da3ad33ff53e506242bbd362)
(cherry picked from 6af1ecc8e4a4067dd4a40d0c09c8d700e6fcc539)
This commit is contained in:
Wei-Chiu Chuang 2019-07-30 16:52:42 -07:00 committed by Erik Krogen
parent 6fe8261fa0
commit ac1924896a

View File

@ -234,7 +234,7 @@ public String toString() {
Column column = columns[i];
if (column.wrap) {
int maxWidth = column.getMaxWidth();
if (maxWidth > 4) {
if (maxWidth > 10) {
column.setWrapWidth(maxWidth-1);
modified = true;
width -= 1;