[libvirt] [PATCH 1/1] Properly indent encryption tags

Eric Blake eblake at redhat.com
Fri Apr 23 14:41:54 UTC 2010


On 04/22/2010 12:32 PM, David Allan wrote:
> * Fix for the bug reported at:
> 
> https://bugzilla.redhat.com/show_bug.cgi?id=573908
> ---
>  src/conf/storage_encryption_conf.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)
> 
> diff --git a/src/conf/storage_encryption_conf.c b/src/conf/storage_encryption_conf.c
> index ed71688..7f68d67 100644
> --- a/src/conf/storage_encryption_conf.c
> +++ b/src/conf/storage_encryption_conf.c
> @@ -228,7 +228,7 @@ virStorageEncryptionSecretFormat(virBufferPtr buf,
>      }
> 
>      virUUIDFormat(secret->uuid, uuidstr);
> -    virBufferVSprintf(buf, "      <secret type='%s' uuid='%s'/>\n", type, uuidstr);
> +    virBufferVSprintf(buf, "        <secret type='%s' uuid='%s'/>\n", type, uuidstr);

This patch breaks tests/storagevolxml2xmltest, which needs a
corresponding change to the expected alignment.

-- 
Eric Blake   eblake at redhat.com    +1-801-349-2682
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 619 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20100423/43b403dd/attachment-0001.sig>


More information about the libvir-list mailing list