]> review.fuel-infra Code Review - openstack-build/heat-build.git/commit
Don't cache data from the API that could change.
authorJason Dunsmore <jasondunsmore@gmail.com>
Fri, 2 Aug 2013 20:19:30 +0000 (15:19 -0500)
committerJason Dunsmore <jasondunsmore@gmail.com>
Wed, 7 Aug 2013 14:04:16 +0000 (09:04 -0500)
commitbae9c57cb1a75c0e592a2356ee3d19a95888d938
tree43f83715d34af9daca8014380f43b3e75dcba256
parent05e421b03ae388cebccd6dbb2480455f5e3c230b
Don't cache data from the API that could change.

The Cloud Server resource caches Nova server objects, which could change
between Heat calls.  Heat should get new data from the Nova API on each
run.

Fixes bug #1208559

Change-Id: I7dd8a99745cf8a3aab974468acae8dc1f85369ee
heat/engine/resources/rackspace/cloud_server.py
heat/tests/test_rackspace_cloud_server.py