From 503e6301fa4f630c098469363797cd70ca801c05 Mon Sep 17 00:00:00 2001 From: yash-pal1 Date: Thu, 13 Jun 2024 17:16:00 +0530 Subject: [PATCH 1/2] NB-37 netbox update bug fix --- netbox_paas/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox_paas/views.py b/netbox_paas/views.py index 2b29855..f21fd2c 100644 --- a/netbox_paas/views.py +++ b/netbox_paas/views.py @@ -361,7 +361,7 @@ def post(self, request, pk, *args, **kwargs): obj.get_env().upgrade, request, version=form.cleaned_data["version"], - license=obj.license, + license=obj.lic, ) messages.success(request, utils.job_msg(job)) return redirect("core:job", pk=job.pk) From 2fe657325a77ac9992705fe6abcacc3ad26bc624 Mon Sep 17 00:00:00 2001 From: yash-pal1 Date: Mon, 17 Jun 2024 12:23:24 +0530 Subject: [PATCH 2/2] NB-37 args fix --- netbox_paas/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/netbox_paas/views.py b/netbox_paas/views.py index f21fd2c..4131074 100644 --- a/netbox_paas/views.py +++ b/netbox_paas/views.py @@ -361,7 +361,7 @@ def post(self, request, pk, *args, **kwargs): obj.get_env().upgrade, request, version=form.cleaned_data["version"], - license=obj.lic, + lic=obj.license, ) messages.success(request, utils.job_msg(job)) return redirect("core:job", pk=job.pk)