Skip to content

Commit

Permalink
instantiate client
Browse files Browse the repository at this point in the history
  • Loading branch information
tcarmet committed Mar 12, 2024
1 parent be8a625 commit 290f44a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion runner_manager/backend/vsphere.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,12 +37,13 @@ class VsphereBackend(BaseBackend):
def client(self) -> VsphereClient:
session = Session()
session.verify = self.config.verify_ssl
return create_vsphere_client(
client = create_vsphere_client(
server=self.config.server,
username=self.config.username,
password=self.config.password,
session=session,
)
return client

def get_folder(self, datacenter_name, folder_name):
"""
Expand Down

0 comments on commit 290f44a

Please sign in to comment.