From 7703b21fab5ac600ea63237bb87d3a354590a83e Mon Sep 17 00:00:00 2001 From: Jeff Kala <48843785+jeffkala@users.noreply.github.com> Date: Thu, 16 Jan 2025 12:46:05 -0700 Subject: [PATCH] Add default to check_connectivity for TSing job to avoid failure (#301) * Update jobs.py * Create 301.fixed --- changes/301.fixed | 1 + nautobot_device_onboarding/jobs.py | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) create mode 100644 changes/301.fixed diff --git a/changes/301.fixed b/changes/301.fixed new file mode 100644 index 00000000..7842af9f --- /dev/null +++ b/changes/301.fixed @@ -0,0 +1 @@ +Fixed missing job argument for the troubleshooting job. diff --git a/nautobot_device_onboarding/jobs.py b/nautobot_device_onboarding/jobs.py index 90155f7d..9098e72b 100755 --- a/nautobot_device_onboarding/jobs.py +++ b/nautobot_device_onboarding/jobs.py @@ -777,7 +777,7 @@ def run(self, *args, **kwargs): # pragma: no cover username, password, secret = ( # pylint:disable=unused-variable _parse_credentials(kwargs["secrets_group"]) ) - + kwargs["connectivity_test"] = False # Initiate Nornir instance with empty inventory compiled_results = {} try: