commit | 69019e17c4bc08679970a40bfaf8ddce7ff3ad99 | [log] [tgz] |
---|---|---|
author | George Keishing <gkeishin@in.ibm.com> | Thu Oct 06 06:29:57 2016 -0500 |
committer | George Keishing <gkeishin@in.ibm.com> | Thu Oct 06 06:30:29 2016 -0500 |
tree | b1db19de1a34570f3204a18de5e16d05485cbf54 | |
parent | 8e47f53655e8d8efe8551aca7501586bbc6a0126 [diff] |
Fix variable as integer for power cap The integer variable populating as dictionary data have a string char {u'data': u'0'} due to scalar conversion from set variable to dictionary data for POST operation. With the change {u'data': 0} the data remains as integer thus accepting this POST request to write to power_cap Resolves openbmc/openbmc-test-automation#141 Change-Id: I7d99023bc07b24781dcffd53d19e75007993f210 Signed-off-by: George Keishing <gkeishin@in.ibm.com>