Fixes non-string metadata query issue

Based on current wsme implement, all the metadata query will get
the metadata value as string type. As a result, all the non-string
metadata query will not get correct result. Since the data is store
in database with correct data type. The fix will try to eval the
value before setting so as to get the correct data type.

Fixes bug 1200577

Change-Id: I8114e816da123b9dc08f32f9022db0e1b9fc2e5a
This commit is contained in:
Fei Long Wang
2013-07-27 23:44:29 +08:00
parent 748c2da238
commit 0236768b7e
6 changed files with 488 additions and 8 deletions

View File

@@ -17,6 +17,7 @@ module=notifier
module=policy
module=rpc
module=service
module=strutils
module=threadgroup
module=timeutils
base=ceilometer