Commit ae9b9098 authored by Spiros Koulouzis's avatar Spiros Koulouzis

cast port as int

parent eda23c5d
This diff is collapsed.
...@@ -387,7 +387,7 @@ public class DeployService { ...@@ -387,7 +387,7 @@ public class DeployService {
for (Map<String, Object> port : ports) { for (Map<String, Object> port : ports) {
Set<String> keys = port.keySet(); Set<String> keys = port.keySet();
for (String key : keys) { for (String key : keys) {
outputs = TOSCAUtils.buildTOSCAOutput(outputs, serviceName, (String) port.get(key), key, false); outputs = TOSCAUtils.buildTOSCAOutput(outputs, serviceName, String.valueOf((Integer) port.get(key)), key, false);
} }
} }
...@@ -563,7 +563,7 @@ public class DeployService { ...@@ -563,7 +563,7 @@ public class DeployService {
Map<String, String> nodeTypeCache = new HashMap<>(); Map<String, String> nodeTypeCache = new HashMap<>();
Map<String, String> domainCache = new HashMap<>(); Map<String, String> domainCache = new HashMap<>();
Map<String, String> osTypeCache = new HashMap<>(); Map<String, String> osTypeCache = new HashMap<>();
Map<String, String> cloudProviderCache = new HashMap<>();
for (AnsibleOutput ansOut : outputList) { for (AnsibleOutput ansOut : outputList) {
Map<String, Object> map = provisionService.findOne(deployInfo.getProvisionID()).getKeyValue(); Map<String, Object> map = provisionService.findOne(deployInfo.getProvisionID()).getKeyValue();
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment