Revision 5ec4b9d2 scripts/gnt-backup
b/scripts/gnt-backup | ||
---|---|---|
75 | 75 |
ignore_remove_failures = opts.ignore_remove_failures |
76 | 76 |
|
77 | 77 |
if not opts.node: |
78 |
raise errors.OpPrereqError("Target node must be specified") |
|
78 |
raise errors.OpPrereqError("Target node must be specified", |
|
79 |
errors.ECODE_INVAL) |
|
79 | 80 |
|
80 | 81 |
op = opcodes.OpExportInstance(instance_name=args[0], |
81 | 82 |
target_node=opts.node, |
Also available in: Unified diff