mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-03-07 17:28:15 +00:00
storage: pool: Fix XML indentation in pool source lookup
The <source> elements need to be indented from <sources> elements.
This commit is contained in:
parent
5cc3cce5cc
commit
8617e8c8bb
@ -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))
|
||||
|
Loading…
x
Reference in New Issue
Block a user