When cmdlib/instance.py was split, the functions used over
the split were no longer internal and hence got renamed to
a non-internal name. When following code in a merge path,
we have to do this renaming as well. So do it now.

Signed-off-by: Klaus Aehlig <[email protected]>
---
 lib/cmdlib/instance_create.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cmdlib/instance_create.py b/lib/cmdlib/instance_create.py
index ccf38f7..cb2a6da 100644
--- a/lib/cmdlib/instance_create.py
+++ b/lib/cmdlib/instance_create.py
@@ -198,7 +198,7 @@ class LUInstanceCreate(LogicalUnit):
 
     # instance name verification
     if self.op.name_check:
-      self.hostname = _CheckHostnameSane(self, self.op.instance_name)
+      self.hostname = CheckHostnameSane(self, self.op.instance_name)
       self.op.instance_name = self.hostname.name
       # used in CheckPrereq for ip ping check
       self.check_ip = self.hostname.ip
-- 
2.4.3.573.g4eafbef

Reply via email to