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

Make _CheckDiskTemplate a valid type checker

Signed-off-by: default avatarIustin Pop <>
Reviewed-by: default avatarGuido Trotter <>
parent 3d16a983
......@@ -810,6 +810,7 @@ def _CheckDiskTemplate(template):
raise errors.OpPrereqError(msg, errors.ECODE_INVAL)
if template == constants.DT_FILE:
return True
def _CheckStorageType(storage_type):
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