From e1fb64a7a6c675d909fe76757ae6671e51de9a51 Mon Sep 17 00:00:00 2001 From: David Moreau Simard Date: Fri, 18 Jul 2014 13:25:58 -0400 Subject: [PATCH] Pass disk usage options when using --all This commit allows the arguments --human-readable and --top to be used with --all to customize the output of the disk usage portion. There are no unit tests attached to this commit, I have created and referenced bug #1344200 which shows there is a larger bug to address to create several missing tests. Change-Id: I46b8359533989efc3067971acaafec1d0cbc2b9f Closes-Bug: #1344178 Related-Bug: #1344200 --- swift/cli/recon.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/swift/cli/recon.py b/swift/cli/recon.py index 4cb1761d12..694a27731c 100755 --- a/swift/cli/recon.py +++ b/swift/cli/recon.py @@ -927,7 +927,7 @@ class SwiftRecon(object): self.auditor_check(hosts) self.umount_check(hosts) self.load_check(hosts) - self.disk_usage(hosts) + self.disk_usage(hosts, options.top, options.human_readable) self.get_ringmd5(hosts, swift_dir) self.quarantine_check(hosts) self.socket_usage(hosts)