Fix allow_untrusted param handling
This commit is contained in:
@@ -246,14 +246,14 @@ class VixDiskLibHandle:
|
|||||||
password,
|
password,
|
||||||
port=port,
|
port=port,
|
||||||
thumbprint=thumbprint,
|
thumbprint=thumbprint,
|
||||||
allow_untrusted=allow_untrusted or not thumbprint,
|
allow_untrusted=allow_untrusted,
|
||||||
)
|
)
|
||||||
conn = _Connection(
|
conn = _Connection(
|
||||||
si,
|
si,
|
||||||
vm_moref,
|
vm_moref,
|
||||||
snapshot_ref,
|
snapshot_ref,
|
||||||
thumbprint,
|
thumbprint,
|
||||||
allow_untrusted or not thumbprint,
|
allow_untrusted,
|
||||||
read_only,
|
read_only,
|
||||||
transport_mode,
|
transport_mode,
|
||||||
)
|
)
|
||||||
|
|||||||
Reference in New Issue
Block a user