Skip to content

Commit

Permalink
Merge pull request #2913 from fangge1212/tls_reverse
Browse files Browse the repository at this point in the history
Modify the function call after the function definition changes
  • Loading branch information
dzhengfy authored Jul 23, 2020
2 parents 2a8589e + 69851c2 commit ea91424
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions libvirt/tests/src/migration/migrate_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -1704,15 +1704,13 @@ def run(test, params, env):

# setup TLS
if transport == "tls" and setup_tls == "yes":
if target_vm_name is not None:
# setup CA, server, client and server on local
test_dict['server_setup_local'] = True
tls_obj = TLSConnection(test_dict)
if tls_recovery == "yes":
objs_list.append(tls_obj)
if target_vm_name is None:
# setup CA, server and client
tls_obj.conn_setup()
else:
# setup CA, server, client and server on local
tls_obj.conn_setup(server_setup_local=True)
tls_obj.conn_setup()

# setup TCP
if transport == "tcp" and setup_tcp == "yes":
Expand Down

0 comments on commit ea91424

Please sign in to comment.