Fix wrong function name in api/v0/recipes/freeze error messages
This commit is contained in:
parent
53cd264ece
commit
da3616db72
@ -305,7 +305,7 @@ def v0_api(api):
|
|||||||
recipe = read_recipe_commit(api.config["GITLOCK"].repo, "master", recipe_name)
|
recipe = read_recipe_commit(api.config["GITLOCK"].repo, "master", recipe_name)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
errors.append({"recipe":recipe_name, "msg":str(e)})
|
errors.append({"recipe":recipe_name, "msg":str(e)})
|
||||||
log.error("(v0_recipes_depsolve) %s", str(e))
|
log.error("(v0_recipes_freeze) %s", str(e))
|
||||||
|
|
||||||
# No recipe found, skip it.
|
# No recipe found, skip it.
|
||||||
if not recipe:
|
if not recipe:
|
||||||
@ -323,7 +323,7 @@ def v0_api(api):
|
|||||||
deps = projects_depsolve(api.config["YUMLOCK"].yb, projects)
|
deps = projects_depsolve(api.config["YUMLOCK"].yb, projects)
|
||||||
except ProjectsError as e:
|
except ProjectsError as e:
|
||||||
errors.append({"recipe":recipe_name, "msg":str(e)})
|
errors.append({"recipe":recipe_name, "msg":str(e)})
|
||||||
log.error("(v0_recipes_depsolve) %s", str(e))
|
log.error("(v0_recipes_freeze) %s", str(e))
|
||||||
|
|
||||||
# Change the recipe's modules and packages to use the depsolved version
|
# Change the recipe's modules and packages to use the depsolved version
|
||||||
new_modules = []
|
new_modules = []
|
||||||
|
Loading…
Reference in New Issue
Block a user