Code review comment for lp:~anso/nova/validate-device-attach-disk

Revision history for this message
Jay Pipes (jaypipes) wrote :

Good, but how about a tiny bit more descriptive in the error message?

Instead of:

17 + raise exception.ApiError("Invalid device. Example /dev/vdb")

how about:

17 + raise exception.ApiError("Invalid device specified: %s. Example device: /dev/vdb" % device)

« Back to merge proposal