Re: [PATCH 1/6] storage: pool: Fix XML indentation in pool source lookup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 03/28/2014 04:01 PM, Peter Krempa wrote:
> The <source> elements need to be indented from <sources> elements.
> ---
>  src/conf/storage_conf.c | 2 ++
>  1 file changed, 2 insertions(+)

ACK; safe for 1.2.3

> 
> diff --git a/src/conf/storage_conf.c b/src/conf/storage_conf.c
> index a300476..65504b4 100644
> --- a/src/conf/storage_conf.c
> +++ b/src/conf/storage_conf.c
> @@ -2006,11 +2006,13 @@ virStoragePoolSourceListFormat(virStoragePoolSourceListPtr def)
>      }
> 
>      virBufferAddLit(&buf, "<sources>\n");
> +    virBufferAdjustIndent(&buf, 2);
> 
>      for (i = 0; i < def->nsources; i++) {
>          virStoragePoolSourceFormat(&buf, options, &def->sources[i]);
>      }
> 
> +    virBufferAdjustIndent(&buf, -2);
>      virBufferAddLit(&buf, "</sources>\n");
> 
>      if (virBufferError(&buf))
> 

-- 
Eric Blake   eblake redhat com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

Attachment: signature.asc
Description: OpenPGP digital signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]