Commit 32a82f77 authored by Klaus Aehlig's avatar Klaus Aehlig

Follow the name change of _CheckHostnameSane

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: default avatarKlaus Aehlig <aehlig@google.com>
Reviewed-by: default avatarHelga Velroyen <helgav@google.com>
parent 8d88f8fb
......@@ -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
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment