diff options
author | Rohan Rhishikesh Kanade <rohan.kanade@nttdata.com> | 2013-02-27 11:19:21 -0800 |
---|---|---|
committer | Rohan Rhishikesh Kanade <rohan.kanade@nttdata.com> | 2013-04-01 04:55:47 -0700 |
commit | 0ae598b1a7a92755fd0fcc2685816414fb6f47b0 (patch) | |
tree | bbf1219771364b80f732cb06a6ac242f8f6f0120 /nova/utils.py | |
parent | a831e9d2608aa9fd6200ea873e3cb766322a6c3c (diff) | |
download | nova-0ae598b1a7a92755fd0fcc2685816414fb6f47b0.tar.gz nova-0ae598b1a7a92755fd0fcc2685816414fb6f47b0.tar.xz nova-0ae598b1a7a92755fd0fcc2685816414fb6f47b0.zip |
Return 409 on creating/importing same name keypair
* Removed the DB look up on creating and importing a keypair.
* Added unique constraint on user_id and name columns of key_pairs
table.
Fixes LP: #1086333.
Change-Id: I2fd4697f9269d2be13bd977e65ba4ca4a27b9ac6
Diffstat (limited to 'nova/utils.py')
0 files changed, 0 insertions, 0 deletions