Revision d8d838cb
b/lib/client/gnt_instance.py | ||
---|---|---|
748 | 748 |
cnt = [opts.on_primary, opts.on_secondary, opts.auto, |
749 | 749 |
new_2ndary is not None, iallocator is not None].count(True) |
750 | 750 |
if cnt != 1: |
751 |
raise errors.OpPrereqError("One and only one of the -p, -s, -a, -n and -i"
|
|
751 |
raise errors.OpPrereqError("One and only one of the -p, -s, -a, -n and -I"
|
|
752 | 752 |
" options must be passed", errors.ECODE_INVAL) |
753 | 753 |
elif opts.on_primary: |
754 | 754 |
mode = constants.REPLACE_DISK_PRI |
Also available in: Unified diff