File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
netpalm/backend/plugins/utilities/webhook Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -20,14 +20,14 @@ def __init__(self, whook_payload):
20
20
21
21
def webhook_exec (self , job_data ):
22
22
try :
23
- log .info (f"webhook_exec: importing f" {self .webhook_name }")
23
+ log .info (f"webhook_exec: importing { self .webhook_name } " )
24
24
module = importlib .import_module (self .webhook_name )
25
25
run_whook = getattr (module , "run_webhook" )
26
26
job_data ["webhook_args" ] = self .webhook_args
27
27
whook_data = job_data
28
- log .info (f"webhook_exec: webhook data loaded f" {whook_data }")
28
+ log .info (f"webhook_exec: webhook data loaded { whook_data } " )
29
29
if self .webhook_j2_name :
30
- log .info (f"webhook_exec: rendering webhook j2 template f" {self .webhook_j2_name }")
30
+ log .info (f"webhook_exec: rendering webhook j2 template { self .webhook_j2_name } " )
31
31
res = render_j2template (
32
32
self .webhook_j2_name ,
33
33
template_type = "webhook" ,
@@ -39,7 +39,7 @@ def webhook_exec(self, job_data):
39
39
res = run_whook (payload = whook_data )
40
40
return res
41
41
except Exception as e :
42
- log .error (f"webhook_exec: webhook run failure f" {e }")
42
+ log .error (f"webhook_exec: webhook run failure { e } " )
43
43
return e
44
44
45
45
You can’t perform that action at this time.
0 commit comments