Fix a docstring in bdev's DRBD8 class
authorIustin Pop <iustin@google.com>
Mon, 16 Jul 2012 11:51:20 +0000 (13:51 +0200)
committerIustin Pop <iustin@google.com>
Thu, 19 Jul 2012 08:01:42 +0000 (10:01 +0200)
It seems this was not updated since the move to static minors…

Signed-off-by: Iustin Pop <iustin@google.com>
Reviewed-by: Agata Murawska <agatamurawska@google.com>

lib/bdev.py

index 47b8931..1d85867 100644 (file)
@@ -1098,10 +1098,10 @@ class DRBD8(BaseDRBD):
   doesn't do anything to the supposed peer. If you need a fully
   connected DRBD pair, you need to use this class on both hosts.
 
-  The unique_id for the drbd device is the (local_ip, local_port,
-  remote_ip, remote_port) tuple, and it must have two children: the
-  data device and the meta_device. The meta device is checked for
-  valid size and is zeroed on create.
+  The unique_id for the drbd device is a (local_ip, local_port,
+  remote_ip, remote_port, local_minor, secret) tuple, and it must have
+  two children: the data device and the meta_device. The meta device
+  is checked for valid size and is zeroed on create.
 
   """
   _MAX_MINORS = 255