From c7cc9d32d82f3aeafaa240ce2cb03a5ff12ce6bb Mon Sep 17 00:00:00 2001 From: Gary Kotton Date: Mon, 17 Feb 2014 02:59:56 -0800 Subject: [PATCH] Remove underscore for the STATE_MAP variable The STATE_MAP will be used by the V3 diagnostics support. Removing the underscore will indicate that the dictionary is no longer local. Change-Id: Ife13e179abf0c1b31dafdf19fb0f3b29054199f2 --- nova/compute/power_state.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/compute/power_state.py b/nova/compute/power_state.py index efe5b5cc7762..872f15ff5b99 100644 --- a/nova/compute/power_state.py +++ b/nova/compute/power_state.py @@ -41,7 +41,7 @@ BUILDING = 0x09 # TODO(justinsb): Power state really needs to be a proper class, # so that we're not locked into the libvirt status codes and can put mapping # logic here rather than spread throughout the code -_STATE_MAP = { +STATE_MAP = { NOSTATE: 'pending', RUNNING: 'running', PAUSED: 'paused',