Fix cutoff header in mc admin bucket remote ls (#3502)

This commit is contained in:
Poorna Krishnamoorthy
2020-11-25 12:05:37 -08:00
committed by GitHub
parent 465e6cf63c
commit df5f03a109
+1 -1
View File
@@ -100,7 +100,7 @@ func printRemotes(ctx *cli.Context, urlStr string, targets []madmin.BucketTarget
maxURLLen := 10
maxTgtLen := 6
maxSrcLen := 6
maxLabelLen := 0
maxLabelLen := 5
if !globalJSON {
if len(targets) == 0 {
console.Print(console.Colorize("RemoteListEmpty", fmt.Sprintf("No remote targets found for `%s`. \n", urlStr)))