mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-25 01:34:11 +03:00
snapshot: Improve message for VIR_ERR_INVALID_DOMAIN_SNAPSHOT
For consistency with other error messages, and the fact that the object is always called a virDomainSnapshot rather than a mere virSnapshot, include the word "domain" in the error message. Suggested-by: John Ferlan <jferlan@redhat.com> Signed-off-by: Eric Blake <eblake@redhat.com> Reviewed-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
parent
438ff36317
commit
33a07b8e41
@ -1122,8 +1122,8 @@ const virErrorMsgTuple virErrorMsgStrings[VIR_ERR_NUMBER_LAST] = {
|
||||
N_("Hook script execution failed"),
|
||||
N_("Hook script execution failed: %s") },
|
||||
[VIR_ERR_INVALID_DOMAIN_SNAPSHOT] = {
|
||||
N_("Invalid snapshot"),
|
||||
N_("Invalid snapshot: %s") },
|
||||
N_("Invalid domain snapshot"),
|
||||
N_("Invalid domain snapshot: %s") },
|
||||
[VIR_ERR_NO_DOMAIN_SNAPSHOT] = {
|
||||
N_("Domain snapshot not found"),
|
||||
N_("Domain snapshot not found: %s") },
|
||||
|
Loading…
Reference in New Issue
Block a user