Revision 47e0abee lib/watcher/nodemaint.py

b/lib/watcher/nodemaint.py
80 80
    """Get list of used DRBD minors.
81 81

  
82 82
    """
83
    return drbd.DRBD8Dev.GetUsedDevs()
83
    return drbd.DRBD8.GetUsedDevs()
84 84

  
85 85
  @classmethod
86 86
  def DoMaintenance(cls, role):
......
121 121
      logging.info("Following DRBD minors should not be active,"
122 122
                   " shutting them down: %s", utils.CommaJoin(drbd_running))
123 123
      for minor in drbd_running:
124
        # pylint: disable=W0212
125
        # using the private method as is, pending enhancements to the DRBD
126
        # interface
127
        drbd.DRBD8Dev._ShutdownAll(minor)
124
        drbd.DRBD8.ShutdownAll(minor)
128 125

  
129 126
  def Exec(self):
130 127
    """Check node status versus cluster desired state.

Also available in: Unified diff