From: Gordon Hecker Date: Fri, 18 Dec 2009 13:45:07 +0000 (+0100) Subject: bugfix: correct warning calls X-Git-Tag: e2factory-2.3.3~2 X-Git-Url: https://git.e2factory.org/?a=commitdiff_plain;h=7b4654b4b22aae41e95064958f895ac8e65480ca;p=e2factory.git bugfix: correct warning calls Signed-off-by: Gordon Hecker --- diff --git a/local/e2tool.lua b/local/e2tool.lua index bb2a0b7..2eed81e 100644 --- a/local/e2tool.lua +++ b/local/e2tool.lua @@ -609,9 +609,9 @@ The newest configuration syntax supported by the tools is %s. end info.servers[info.root_server_name].writeback = true if not info.servers[info.default_repo_server] then - e2lib.warnf(WPOLICY, "server %s is unconfigured.", + e2lib.warnf("WPOLICY", "server %s is unconfigured.", info.default_repo_server) - e2lib.warnf(WPOLICY, "Cannot setup server %s", + e2lib.warnf("WPOLICY", "Cannot setup server %s", info.proj_storage_server_name) -- do not treat that as an error, unless the server is used. return true, nil