Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix AttributeError in Keypair._add_details()
_add_details() method copies keypair attributes retrieved from Nova to an instance of Keypair class. Trying to set attribute 'id' fails with AttributeError, because Keypair class has a read-only property 'id'. We can safely omit setting of attribute 'id', because it's just an implementation detail (the id of a table row in a database), and keypairs for a given tenant are uniquely identified using attribute 'name'. Fixes bug 1223934 Change-Id: I1045730e47e9e6ad31fcdfbaefdad77e2f3b2c3e
- Loading branch information