From: Loic Dachary Date: Wed, 17 Sep 2014 12:56:10 +0000 (+0200) Subject: Revert "crushtool: safeguard for missing --num-rep when --test" X-Git-Tag: v0.86~62^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=480c3727c91176d19f49f46c49ae8170b2f8e21f;p=ceph.git Revert "crushtool: safeguard for missing --num-rep when --test" This reverts commit 10b8966c8da38f8ae5ac7dbb2e16a5e45e502ba3. --- diff --git a/src/tools/crushtool.cc b/src/tools/crushtool.cc index 10adc11a495..ccb0efda74a 100644 --- a/src/tools/crushtool.cc +++ b/src/tools/crushtool.cc @@ -729,10 +729,6 @@ int main(int argc, const char **argv) } if (test) { - if (tester.get_min_rep() < 1 || tester.get_max_rep() < 1) { - cerr << me << " --test requires --num-rep with a value > 0 " << std::endl; - exit(1); - } if (tester.get_output_utilization_all() || tester.get_output_utilization()) tester.set_output_statistics(true);