From c738375b107b963c471640e05c8f15d9cfabfe5c Mon Sep 17 00:00:00 2001 From: Iustin Pop <iustin@google.com> Date: Mon, 15 Jun 2009 10:38:02 +0200 Subject: [PATCH] Fix a wrong function name in backend.DrbdAttachNet Commit cf8df3f30c2dcd0ab398d835fa9f64d61578a4f7 "bdev: forward-port ReAttachNet/DisconnectNet" forward-ported 1.2's bdev.DRBD8.ReAttachNet() to 2.0 while renaming it to AttachNet(), but commit 6b93ec9d798ed53089a06bc0ced58ef1d8a9e4b0 "Forward-port DrbdNetReconfig" didn't rename all the calls to it and left one ReAttachNet call in backend.py. Signed-off-by: Iustin Pop <iustin@google.com> Reviewed-by: Guido Trotter <ultrotter@google.com> --- lib/backend.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/backend.py b/lib/backend.py index 54dc0237e..459ff37cc 100644 --- a/lib/backend.py +++ b/lib/backend.py @@ -2392,7 +2392,7 @@ def DrbdAttachNet(nodes_ip, disks, instance_name, multimaster): # standalone, even though this should not happen with the # new staged way of changing disk configs try: - rd.ReAttachNet(multimaster) + rd.AttachNet(multimaster) except errors.BlockDeviceError, err: return (False, "Can't change network configuration: %s" % str(err)) if all_connected: -- GitLab