From 027248a9bbc906940de948d75b58709e0971141f Mon Sep 17 00:00:00 2001 From: Wangpan Date: Thu, 29 Nov 2012 10:06:39 +0800 Subject: Fix KeyError of log message in compute/api.py Remove the NOT exist parameter 'msg' in log. Fixes: bug #1084335 Change-Id: I8bc7a32edcff5e61505f2bc564bae916a753a97f --- nova/compute/api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nova') diff --git a/nova/compute/api.py b/nova/compute/api.py index 79db499bd..3532413e5 100644 --- a/nova/compute/api.py +++ b/nova/compute/api.py @@ -1764,7 +1764,7 @@ class API(base.Base): pid = context.project_id LOG.warn(_("%(overs)s quota exceeded for %(pid)s," - " tried to resize instance. %(msg)s"), locals()) + " tried to resize instance."), locals()) raise exception.TooManyInstances(overs=overs, req=deltas[resource], used=used, allowed=total_allowed, -- cgit