Revision 82e12743 lib/cmdlib.py

b/lib/cmdlib.py
2331 2331

  
2332 2332
    if self.op.drained is not None:
2333 2333
      node.drained = self.op.drained
2334
      result.append(("drained", str(self.op.drained)))
2334 2335
      if self.op.drained == True:
2335 2336
        if node.master_candidate:
2336 2337
          node.master_candidate = False

Also available in: Unified diff