From da3616db72d7f0c5858619b4e24ffaba1efb1e0b Mon Sep 17 00:00:00 2001 From: Martin Pitt Date: Tue, 12 Dec 2017 11:25:08 +0100 Subject: [PATCH] Fix wrong function name in api/v0/recipes/freeze error messages --- src/pylorax/api/v0.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pylorax/api/v0.py b/src/pylorax/api/v0.py index 63c503e9..63992b03 100644 --- a/src/pylorax/api/v0.py +++ b/src/pylorax/api/v0.py @@ -305,7 +305,7 @@ def v0_api(api): recipe = read_recipe_commit(api.config["GITLOCK"].repo, "master", recipe_name) except Exception as 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. if not recipe: @@ -323,7 +323,7 @@ def v0_api(api): deps = projects_depsolve(api.config["YUMLOCK"].yb, projects) except ProjectsError as 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 new_modules = []