Skip to content

Commit

Permalink
fixing **kwargs error
Browse files Browse the repository at this point in the history
  • Loading branch information
ktbyers committed Sep 20, 2024
1 parent af33630 commit d1791fa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion netmiko/cli_tools/netmiko_grep.py
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ def main(args):

# THREADING #####
with ThreadPoolExecutor(max_workers=max_workers) as executor:
futures = [executor.submit(ssh_conn, *kwargs) for kwargs in device_tasks]
futures = [executor.submit(ssh_conn, **kwargs) for kwargs in device_tasks]
for future in as_completed(futures):
device_name, output = future.result()
results[device_name] = output
Expand Down

0 comments on commit d1791fa

Please sign in to comment.