summaryrefslogtreecommitdiffstats
path: root/nova/utils.py
diff options
context:
space:
mode:
authorMatthew Treinish <treinish@linux.vnet.ibm.com>2012-12-14 15:18:22 -0500
committerMatthew Treinish <treinish@linux.vnet.ibm.com>2012-12-17 15:50:11 -0500
commit2e01dc0673006892e3b559b372a26ff9205d7c81 (patch)
tree6884bf157496f34eca031ef4207c960e2411d2b5 /nova/utils.py
parentaaae75dc3568ba95d4db5478b1c92eec454356f4 (diff)
downloadnova-2e01dc0673006892e3b559b372a26ff9205d7c81.tar.gz
nova-2e01dc0673006892e3b559b372a26ff9205d7c81.tar.xz
nova-2e01dc0673006892e3b559b372a26ff9205d7c81.zip
Fix API samples generation.
In Change: Ie46b24a65145c407d46974b63a97a84911223547 a check was added to _verify_response() to verify the samples. However, when trying to generate new samples this blocks _write_sample() because it attempts to read a non-existent file. This change ensures that the sample is created before the verification and still retains the behavior that the samples are only updated on changes. Change-Id: I1527ba71676b2e1e10bd334f2a7878404d12600c
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions