mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2025-01-23 13:05:27 +00:00
storage: Fix generating iscsi 'auth' xml
We were missing a closing tag, so the XML wasn't proper.
This commit is contained in:
parent
be2cd079af
commit
826cbac459
@ -799,7 +799,7 @@ virStoragePoolSourceFormat(virConnectPtr conn,
|
||||
|
||||
|
||||
if (src->authType == VIR_STORAGE_POOL_AUTH_CHAP)
|
||||
virBufferVSprintf(buf," <auth type='chap' login='%s' passwd='%s'>\n",
|
||||
virBufferVSprintf(buf," <auth type='chap' login='%s' passwd='%s'/>\n",
|
||||
src->auth.chap.login,
|
||||
src->auth.chap.passwd);
|
||||
virBufferAddLit(buf," </source>\n");
|
||||
|
Loading…
x
Reference in New Issue
Block a user