Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
mikemorency committed Dec 19, 2024
1 parent 27db3cb commit ce44f60
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/module_utils/clients/_pyvmomi.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def __create_service_instance(self, connection_args, username, password, http_pr
session_stub = connect.VimSessionOrientedStub(

Check warning on line 148 in plugins/module_utils/clients/_pyvmomi.py

View check run for this annotation

Codecov / codecov/patch

plugins/module_utils/clients/_pyvmomi.py#L145-L148

Added lines #L145 - L148 were not covered by tests
smart_stub, connect.VimSessionOrientedStub.makeUserLoginMethod(username, password)
)
service_instance = vim.ServiceInstance('ServiceInstance', session_stub )
service_instance = vim.ServiceInstance('ServiceInstance', session_stub)

Check warning on line 151 in plugins/module_utils/clients/_pyvmomi.py

View check run for this annotation

Codecov / codecov/patch

plugins/module_utils/clients/_pyvmomi.py#L151

Added line #L151 was not covered by tests
else:
connection_args.update(user=username, pwd=password)
service_instance = connect.SmartConnect(**connection_args)

Check warning on line 154 in plugins/module_utils/clients/_pyvmomi.py

View check run for this annotation

Codecov / codecov/patch

plugins/module_utils/clients/_pyvmomi.py#L153-L154

Added lines #L153 - L154 were not covered by tests
Expand Down

0 comments on commit ce44f60

Please sign in to comment.