You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by "Imesh Gunaratne (JIRA)" <ji...@apache.org> on 2016/07/25 07:47:20 UTC

[jira] [Updated] (STRATOS-1663) An Integer Unboxing Error is Raised in Kubernetes IaaS

     [ https://issues.apache.org/jira/browse/STRATOS-1663?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Imesh Gunaratne updated STRATOS-1663:
-------------------------------------
    Description: 
An integer unboxing error is raised in KubenretesIaaS class in the following code block due to not checking servicePort.getNodePort() is not null:

for (ServicePort servicePort : service.getSpec().getPorts()) {
    if (servicePort.getNodePort() == nodePort) {


  was:
An integer unboxing error is raised in KubenretesIaaS class in the following code block due to not checking servicePort.getNodePort() is not null:

````
for (ServicePort servicePort : service.getSpec().getPorts()) {
    if (servicePort.getNodePort() == nodePort) {
````


> An Integer Unboxing Error is Raised in Kubernetes IaaS
> ------------------------------------------------------
>
>                 Key: STRATOS-1663
>                 URL: https://issues.apache.org/jira/browse/STRATOS-1663
>             Project: Stratos
>          Issue Type: Bug
>          Components: Cloud Controller
>    Affects Versions: 4.1.5
>            Reporter: Imesh Gunaratne
>            Assignee: Imesh Gunaratne
>
> An integer unboxing error is raised in KubenretesIaaS class in the following code block due to not checking servicePort.getNodePort() is not null:
> for (ServicePort servicePort : service.getSpec().getPorts()) {
>     if (servicePort.getNodePort() == nodePort) {



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)