Commit c6e85811 authored by Iustin Pop's avatar Iustin Pop
Browse files

Fix remote imports



A simple typo…
Signed-off-by: default avatarIustin Pop <iustin@google.com>
Reviewed-by: default avatarRené Nussbaumer <rn@google.com>
parent dcb95afb
......@@ -6658,7 +6658,7 @@ class LUCreateInstance(LogicalUnit):
# used in CheckPrereq for ip ping check
self.check_ip = self.hostname1.ip
elif self.op.mode == constants.INSTANCE_REMOTE_IMPORT:
raise errors.OpPrereqError("Remote imports require names to be checked" %
raise errors.OpPrereqError("Remote imports require names to be checked",
errors.ECODE_INVAL)
else:
self.check_ip = None
......
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