Skip to content

Commit

Permalink
Merge pull request #693 from AparnaKarve/fix_osp_attrib_names
Browse files Browse the repository at this point in the history
Fix OSP attribute names
  • Loading branch information
mturley authored Oct 8, 2018
2 parents b4fa511 + 35b49c3 commit 4eefa0e
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,10 @@ export default (state = initialState, action) => {
vm => vm.vm_id === existingInstancePropertiesRow.id
);
if (existingVm) {
const existingFlavor = tenantFlavors && tenantFlavors.find(flavor => flavor.id === existingVm.osp_flavor);
const existingFlavor =
tenantFlavors && tenantFlavors.find(flavor => flavor.id === existingVm.osp_flavor_id);
const existingGroup =
tenantSecurityGroups && tenantSecurityGroups.find(group => group.id === existingVm.osp_security_group);
tenantSecurityGroups && tenantSecurityGroups.find(group => group.id === existingVm.osp_security_group_id);
preselectedFlavor = existingFlavor && { name: existingFlavor.name, id: existingFlavor.id };
preselectedGroup = existingGroup && { name: existingGroup.name, id: existingGroup.id };
}
Expand Down

0 comments on commit 4eefa0e

Please sign in to comment.