mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-07-11 12:25:52 +00:00
virerror: mark VIR_ERR_AGENT_UNSYNCED as DEPRECATED
Since commit 5e5019bf
, we've no longer use
VIR_ERR_AGENT_UNSYNCED anymore.
Mark it as DEPRECATED.
Signed-off-by: Chen Hanxiao <chenhanxiao@gmail.com>
Signed-off-by: Michal Privoznik <mprivozn@redhat.com>
This commit is contained in:
parent
2d07f1f0eb
commit
c416a20db1
@ -318,7 +318,7 @@ typedef enum {
|
|||||||
VIR_ERR_NO_SERVER = 95, /* Server was not found */
|
VIR_ERR_NO_SERVER = 95, /* Server was not found */
|
||||||
VIR_ERR_NO_CLIENT = 96, /* Client was not found */
|
VIR_ERR_NO_CLIENT = 96, /* Client was not found */
|
||||||
VIR_ERR_AGENT_UNSYNCED = 97, /* guest agent replies with wrong id
|
VIR_ERR_AGENT_UNSYNCED = 97, /* guest agent replies with wrong id
|
||||||
to guest-sync command */
|
to guest-sync command (DEPRECATED)*/
|
||||||
VIR_ERR_LIBSSH = 98, /* error in libssh transport driver */
|
VIR_ERR_LIBSSH = 98, /* error in libssh transport driver */
|
||||||
} virErrorNumber;
|
} virErrorNumber;
|
||||||
|
|
||||||
|
@ -1441,7 +1441,7 @@ virErrorMsg(virErrorNumber error, const char *info)
|
|||||||
else
|
else
|
||||||
errmsg = _("Client not found: %s");
|
errmsg = _("Client not found: %s");
|
||||||
break;
|
break;
|
||||||
case VIR_ERR_AGENT_UNSYNCED:
|
case VIR_ERR_AGENT_UNSYNCED: /* DEPRECATED */
|
||||||
if (info == NULL)
|
if (info == NULL)
|
||||||
errmsg = _("guest agent replied with wrong id to guest-sync command");
|
errmsg = _("guest agent replied with wrong id to guest-sync command");
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user