summaryrefslogtreecommitdiff
path: root/oslo_vmware/rw_handles.py
diff options
context:
space:
mode:
Diffstat (limited to 'oslo_vmware/rw_handles.py')
-rw-r--r--oslo_vmware/rw_handles.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/oslo_vmware/rw_handles.py b/oslo_vmware/rw_handles.py
index e0dfc7c..e3769ec 100644
--- a/oslo_vmware/rw_handles.py
+++ b/oslo_vmware/rw_handles.py
@@ -492,7 +492,7 @@ class VmdkWriteHandle(VmdkHandle):
url, thumbprint = self._find_vmdk_url(lease_info, host, port)
self._vm_ref = lease_info.entity
- cookies = session.vim.client.options.transport.cookiejar
+ cookies = session.vim.client.cookiejar
# Create HTTP connection to write to VMDK URL
if http_method == 'PUT':
overwrite = 't'
@@ -600,7 +600,7 @@ class VmdkReadHandle(VmdkHandle):
# find URL of the VMDK file to be read and open connection
url, thumbprint = self._find_vmdk_url(lease_info, host, port)
- cookies = session.vim.client.options.transport.cookiejar
+ cookies = session.vim.client.cookiejar
self._conn = self._create_read_connection(url,
cookies=cookies,
ssl_thumbprint=thumbprint)