mirror of https://gitee.com/openkylin/libvirt.git
virterror: Add a missing 'break' for VIR_ERR_INVALID_SECRET
This commit is contained in:
parent
33b35313a3
commit
66c6cc7c5e
|
@ -1082,6 +1082,7 @@ virErrorMsg(virErrorNumber error, const char *info)
|
|||
errmsg = _("Invalid secret");
|
||||
else
|
||||
errmsg = _("Invalid secret: %s");
|
||||
break;
|
||||
case VIR_ERR_NO_SECRET:
|
||||
if (info == NULL)
|
||||
errmsg = _("Secret not found");
|
||||
|
|
Loading…
Reference in New Issue