aboutsummaryrefslogtreecommitdiffstats
path: root/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle
diff options
context:
space:
mode:
authorTaka <tc012c@att.com>2017-12-07 17:39:34 -0500
committerTaka <tc012c@att.com>2017-12-07 17:41:41 -0500
commit3f4c146780a45b5e6fb0b6ea14679efae741dfe8 (patch)
treedbb899ac26fd29f685d34659f8d9845a818883f3 /appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle
parentc5dd5d87de3863abef1f3dbae83bfc0fb87ac95a (diff)
Fixed several Sonas blocker
Change-Id: Iea0a227957092101094ac99967efdb552453363d Issue-ID: APPC-337 Signed-off-by: Taka <tc012c@att.com>
Diffstat (limited to 'appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle')
-rw-r--r--appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/openecomp/appc/adapter/iaas/provider/operation/impl/base/ProviderServerOperation.java3
1 files changed, 2 insertions, 1 deletions
diff --git a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/openecomp/appc/adapter/iaas/provider/operation/impl/base/ProviderServerOperation.java b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/openecomp/appc/adapter/iaas/provider/operation/impl/base/ProviderServerOperation.java
index d2c34d034..e503e05fd 100644
--- a/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/openecomp/appc/adapter/iaas/provider/operation/impl/base/ProviderServerOperation.java
+++ b/appc-adapters/appc-iaas-adapter/appc-iaas-adapter-bundle/src/main/java/org/openecomp/appc/adapter/iaas/provider/operation/impl/base/ProviderServerOperation.java
@@ -510,7 +510,8 @@ public abstract class ProviderServerOperation extends ProviderOperation {
String msg = null;
if (server.getHypervisor() != null && server.getHypervisor().getStatus() != null
&& server.getHypervisor().getState() != null) {
- String status = null, state = null;
+ String status = null;
+ String state = null;
status = server.getHypervisor().getStatus().toString();
state = server.getHypervisor().getState().toString();