Fix cbstats timings 78/76778/3
authorJames Harrison <00jamesh@gmail.com>
Thu, 13 Apr 2017 15:15:45 +0000 (16:15 +0100)
committerDave Rigby <daver@couchbase.com>
Tue, 18 Apr 2017 16:59:41 +0000 (16:59 +0000)
histograms was unexpectedly decorated with @cmd - despite not being a
top level cmd called by clitool.

This lead to an erroneous auth failure, no matter what.

Change-Id: I367d8869db8b151376916e726694fa8758b636d9
Reviewed-on: http://review.couchbase.org/76778
Reviewed-by: Dave Rigby <daver@couchbase.com>
Tested-by: Build Bot <build@couchbase.com>
management/cbstats

index dd8d573..fb40cb6 100755 (executable)
@@ -288,8 +288,6 @@ def size_label(s):
     suffix = sizes[int(e)]
     return "%d%s" % (s/(1024 ** math.floor(e)), suffix)
 
-@cmd
-
 def histograms(mc, raw_stats):
     # Try to figure out the terminal width.  If we can't, 79 is good
     def termWidth():