Skip to content

Commit d873ac7

Browse files
committed
MB-25464: Do not exit cbstats if stats_perform fails
Exiting early will prevent cbstats collecting stats from other buckets when running with `-a`. Change-Id: I36641b06c5c22ea0add46b3bbe91332ec0fc498a Reviewed-on: http://review.couchbase.org/81627 Well-Formed: Build Bot <[email protected]> Reviewed-by: James Harrison <[email protected]> Tested-by: Build Bot <[email protected]>
1 parent 0a68c87 commit d873ac7

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

management/cbstats

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,6 @@ def stats_perform(mc, cmd=''):
6666
except Exception, e:
6767
print "Stats '%s' are not available from the requested engine. (%s)"\
6868
% (cmd, e)
69-
sys.exit(1)
7069

7170
def stats_formatter(stats, prefix=" ", cmp=None):
7271
if stats:

0 commit comments

Comments
 (0)