mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-12 15:52:55 +00:00
Properly indent encryption tags
* Fix for the bug reported at: https://bugzilla.redhat.com/show_bug.cgi?id=573908
This commit is contained in:
parent
96ac18591a
commit
68529bc596
@ -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);
|
||||
return 0;
|
||||
}
|
||||
|
||||
@ -245,14 +245,14 @@ virStorageEncryptionFormat(virBufferPtr buf,
|
||||
"%s", _("unexpected encryption format"));
|
||||
return -1;
|
||||
}
|
||||
virBufferVSprintf(buf, " <encryption format='%s'>\n", format);
|
||||
virBufferVSprintf(buf, " <encryption format='%s'>\n", format);
|
||||
|
||||
for (i = 0; i < enc->nsecrets; i++) {
|
||||
if (virStorageEncryptionSecretFormat(buf, enc->secrets[i]) < 0)
|
||||
return -1;
|
||||
}
|
||||
|
||||
virBufferAddLit(buf, " </encryption>\n");
|
||||
virBufferAddLit(buf, " </encryption>\n");
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user