mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +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_CLIENT = 96, /* Client was not found */
|
||||
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 */
|
||||
} virErrorNumber;
|
||||
|
||||
|
@ -1441,7 +1441,7 @@ virErrorMsg(virErrorNumber error, const char *info)
|
||||
else
|
||||
errmsg = _("Client not found: %s");
|
||||
break;
|
||||
case VIR_ERR_AGENT_UNSYNCED:
|
||||
case VIR_ERR_AGENT_UNSYNCED: /* DEPRECATED */
|
||||
if (info == NULL)
|
||||
errmsg = _("guest agent replied with wrong id to guest-sync command");
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user