From 354a4f472b33534f1c0405bbeb8a4cdf250a8713 Mon Sep 17 00:00:00 2001 From: Laurence Maultsby Date: Wed, 2 Nov 2016 10:14:45 -0400 Subject: [PATCH] Fix for datacenters disappearing Signed-off-by: Laurence Maultsby --- skyquake/plugins/launchpad/src/instantiate/instantiateStore.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js index b13e242e1..94ba391bb 100644 --- a/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js +++ b/skyquake/plugins/launchpad/src/instantiate/instantiateStore.js @@ -156,7 +156,7 @@ class LaunchNetworkServiceStore { let newState = { dataCenters: dataCenters || [] }; - if (this.state.ro && this.state.ro['account-type'] == 'openmano') { + if (this.ro && this.ro['account-type'] == 'openmano') { newState.dataCenterID = dataCenters[this.ro.name][0].uuid } this.setState(newState) -- 2.17.1