diff --git a/bin/swift-ring-builder b/bin/swift-ring-builder index 96dac83300..8187c6d571 100755 --- a/bin/swift-ring-builder +++ b/bin/swift-ring-builder @@ -116,7 +116,7 @@ swift-ring-builder else: balance = 100.0 * dev['parts'] / \ (dev['weight'] * weighted_parts) - 100.0 - print(' %5d %5d %5d %15s %5d %9s %6.02f %10s' + print(' %5d %7d %5d %15s %5d %9s %6.02f %10s' '%7.02f %s' % (dev['id'], dev['region'], dev['zone'], dev['ip'], dev['port'], dev['device'], dev['weight'], dev['parts'], @@ -150,7 +150,7 @@ swift-ring-builder search else: balance = 100.0 * dev['parts'] / \ (dev['weight'] * weighted_parts) - 100.0 - print(' %5d %5d %5d %15s %5d %9s %6.02f %10s %7.02f %s' % + print(' %5d %7d %5d %15s %5d %9s %6.02f %10s %7.02f %s' % (dev['id'], dev['region'], dev['zone'], dev['ip'], dev['port'], dev['device'], dev['weight'], dev['parts'], balance, dev['meta']))