Fix the import keypair url

Horizon change the import keypair url, we should update it.

Change-Id: I21d80b98552a2660ad42d265ffaa3bb8a98c0913
Closes-Bug: #1673114
This commit is contained in:
zhurong 2017-04-01 16:37:41 +08:00
parent be52ed8a4c
commit 8d0a6b50c6

View File

@ -53,8 +53,7 @@ TYPES.update({
'floatingip': fields.FloatingIpBooleanField
})
# From Horizon project/instances/workflow/create_instance
KEYPAIR_IMPORT_URL = "horizon:project:access_and_security:keypairs:import"
KEYPAIR_IMPORT_URL = "horizon:project:key_pairs:import"
TYPES_KWARGS = {
'keypair': {'add_item_link': KEYPAIR_IMPORT_URL}
}