diff options
author | Lukasz Muszkieta <lukasz.muszkieta@nokia.com> | 2019-08-22 11:07:46 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@onap.org> | 2019-08-22 11:07:46 +0000 |
commit | 7981396ba705aa2d22ecf680f74a462d784c5e56 (patch) | |
tree | f480a455fb39ba6addb853f723ed5f3e84948ed1 /adapters/mso-openstack-adapters/src/main/java/org | |
parent | 6a997ad7a4f3670387b19d989986047cc15c51e3 (diff) | |
parent | 3175593216a7f186f541c018beec75e34977214a (diff) |
Merge "Moved setNeutronNetworkId() call inside null check to prevent crash at outputs.get() call"
Diffstat (limited to 'adapters/mso-openstack-adapters/src/main/java/org')
-rw-r--r-- | adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterImpl.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterImpl.java b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterImpl.java index 97c73a9e99..afc227faf0 100644 --- a/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterImpl.java +++ b/adapters/mso-openstack-adapters/src/main/java/org/onap/so/adapters/network/MsoNetworkAdapterImpl.java @@ -462,13 +462,13 @@ public class MsoNetworkAdapterImpl implements MsoNetworkAdapter { } } } + networkRollback.setNeutronNetworkId((String) outputs.get(NETWORK_ID)); } subnetIdMap.value = sMap; rollback.value = networkRollback; // Populate remaining rollback info and response parameters. networkRollback.setNetworkStackId(heatStack.getCanonicalName()); - networkRollback.setNeutronNetworkId((String) heatStack.getOutputs().get(NETWORK_ID)); networkRollback.setNetworkCreated(true); networkRollback.setNetworkType(networkType); |