In case we pass --disk-grow 0[,0..] then we should not call GrowDisks as it
prints confusing log lines.
Reviewed-by: imsnah
opts.disk_template in constants.DTS_NET_MIRROR) :
self.ReplaceDisks2()
- if opts.disk_template != constants.DT_DISKLESS:
+ if (opts.disk_template != constants.DT_DISKLESS and
+ utils.any(self.disk_growth, lambda n: n > 0)):
self.GrowDisks()
if opts.do_failover and opts.disk_template in constants.DTS_NET_MIRROR: