mirror of https://gitee.com/openkylin/libvirt.git
qemuDomainSecretStorageSourcePrepare: Remove cabapbility check when preparing cookies
The capability is checked when we validate the source in the first place. Also it won't make sense any more. Signed-off-by: Peter Krempa <pkrempa@redhat.com> Reviewed-by: Pavel Hrdina <phrdina@redhat.com> Reviewed-by: Ján Tomko <jtomko@redhat.com>
This commit is contained in:
parent
6695162c76
commit
6203e43d03
|
@ -1323,7 +1323,6 @@ qemuDomainSecretStorageSourcePrepare(qemuDomainObjPrivate *priv,
|
|||
}
|
||||
|
||||
if (src->ncookies &&
|
||||
virQEMUCapsGet(priv->qemuCaps, QEMU_CAPS_BLOCKDEV) &&
|
||||
!(srcPriv->httpcookie = qemuDomainSecretStorageSourcePrepareCookies(priv,
|
||||
src,
|
||||
aliasprotocol)))
|
||||
|
|
Loading…
Reference in New Issue