Skip to content

Commit fa68ad7

Browse files
committed
fix: previous fixing commit passed wrong parameter
1 parent 10f1636 commit fa68ad7

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

technology_specific_extractors/resttemplate/rst_entry.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -244,7 +244,7 @@ def find_rst_variable(parameter: str, file: dict, line_nr: int, information_flow
244244
print("\t\tFound " + str(parameters[p]) + " in file " + str(correct_file))
245245
if parameters[p][0] != "\"" or parameters[p][-1] != "\"":
246246
if count < 50:
247-
parameters[p], x = find_rst_variable(parameters[p], fc, linec, information_flows, microservices, dfd, count + 1) # recursive step
247+
parameters[p], x = find_rst_variable(parameters[p], fc, linec, information_flows, microservice, dfd, count + 1) # recursive step
248248
except:
249249
print("\tCould not find a definition for " + str(parameters[p]) + ".")
250250
return False, information_flows
@@ -259,7 +259,7 @@ def find_rst_variable(parameter: str, file: dict, line_nr: int, information_flow
259259
if parameters[p].strip("\"").strip() != "":
260260
if parameters[p][0] != "\"" or parameters[p][-1] != "\"":
261261
if count < 50:
262-
parameters[p], x = find_rst_variable(parameters[p], file, line, information_flows, microservices, dfd, count + 1) # recursive step
262+
parameters[p], x = find_rst_variable(parameters[p], file, line, information_flows, microservice, dfd, count + 1) # recursive step
263263
if parameters[p] != False:
264264
parameters[p] = parameters[p].strip("\"").strip()
265265
logger.info("\t\tFound " + str(parameters[p]) + " in this file.")

0 commit comments

Comments
 (0)