[ 
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)

Reply via email to