Revision cea881e5 tools/burnin
b/tools/burnin | ||
---|---|---|
37 | 37 |
from ganeti import errors |
38 | 38 |
from ganeti import utils |
39 | 39 |
from ganeti import hypervisor |
40 |
from ganeti import compat |
|
40 | 41 |
|
41 | 42 |
from ganeti.confd import client as confd_client |
42 | 43 |
|
... | ... | |
982 | 983 |
self.BurnReplaceDisks2() |
983 | 984 |
|
984 | 985 |
if (opts.disk_template in constants.DTS_GROWABLE and |
985 |
utils.any(self.disk_growth, lambda n: n > 0)):
|
|
986 |
compat.any(self.disk_growth, lambda n: n > 0)):
|
|
986 | 987 |
self.BurnGrowDisks() |
987 | 988 |
|
988 | 989 |
if opts.do_failover and opts.disk_template in constants.DTS_NET_MIRROR: |
Also available in: Unified diff