[PATCH] virsh: Fix typo of metadata

Han Han posted 1 patch 2 weeks ago
Test syntax-check failed
Patches applied successfully (tree, apply log)
git fetch https://github.com/patchew-project/libvirt tags/patchew/20200622025110.20139-1-hhan@redhat.com
tools/virsh-domain.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)

[PATCH] virsh: Fix typo of metadata

Posted by Han Han 2 weeks ago
Signed-off-by: Han Han <hhan@redhat.com>
---
 tools/virsh-domain.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
index 5222949566..b7dea5e8f7 100644
--- a/tools/virsh-domain.c
+++ b/tools/virsh-domain.c
@@ -13559,7 +13559,7 @@ virshEventMetadataChangePrint(virConnectPtr conn G_GNUC_UNUSED,
 {
     virBuffer buf = VIR_BUFFER_INITIALIZER;
 
-    virBufferAsprintf(&buf, _("event 'metdata-change' for domain %s: %s %s\n"),
+    virBufferAsprintf(&buf, _("event 'metadata-change' for domain %s: %s %s\n"),
                       virDomainGetName(dom),
                       UNKNOWNSTR(virshEventMetadataChangeTypeTypeToString(type)),
                       NULLSTR(nsuri));
-- 
2.24.0.rc1

Re: [PATCH] virsh: Fix typo of metadata

Posted by Michal Privoznik 2 weeks ago
On 6/22/20 4:51 AM, Han Han wrote:
> Signed-off-by: Han Han <hhan@redhat.com>
> ---
>   tools/virsh-domain.c | 2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/tools/virsh-domain.c b/tools/virsh-domain.c
> index 5222949566..b7dea5e8f7 100644
> --- a/tools/virsh-domain.c
> +++ b/tools/virsh-domain.c
> @@ -13559,7 +13559,7 @@ virshEventMetadataChangePrint(virConnectPtr conn G_GNUC_UNUSED,
>   {
>       virBuffer buf = VIR_BUFFER_INITIALIZER;
>   
> -    virBufferAsprintf(&buf, _("event 'metdata-change' for domain %s: %s %s\n"),
> +    virBufferAsprintf(&buf, _("event 'metadata-change' for domain %s: %s %s\n"),
>                         virDomainGetName(dom),
>                         UNKNOWNSTR(virshEventMetadataChangeTypeTypeToString(type)),
>                         NULLSTR(nsuri));
> 

Reviewed-by: Michal Privoznik <mprivozn@redhat.com>

Michal