diff --git a/extraconfig/tasks/instanceha/check-run-nova-compute b/extraconfig/tasks/instanceha/check-run-nova-compute index dd8342a337..caa2b3e2f6 100755 --- a/extraconfig/tasks/instanceha/check-run-nova-compute +++ b/extraconfig/tasks/instanceha/check-run-nova-compute @@ -144,7 +144,7 @@ def create_nova_connection(options): insecure=options["insecure"], region_name=region, session=keystone_session, auth=keystone_auth, - http_log_debug=options.has_key("verbose"), + http_log_debug="verbose" in options, endpoint_type=nova_endpoint_type) else: # OSP >= Ocata @@ -152,7 +152,7 @@ def create_nova_connection(options): nova = client.Client(version, region_name=region, session=keystone_session, auth=keystone_auth, - http_log_debug=options.has_key("verbose"), + http_log_debug="verbose" in options, endpoint_type=nova_endpoint_type) try: