incorrect work of _findUnusedPort() method in KubernetesCluster app

Bug #1481748 reported by Dmytro Dovbii
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
murano-apps
Fix Released
High
Dmytro Dovbii

Bug Description

There is a typo in code of "_findUnusedPort" method: symbol '$' is absent before 'initial' variable

- If: initial != 22 and $._checkIfPortIsNotUsed($initial, $protocol)

Due to the fact that yaql 0.2 allows to compare the number with a string there are no errors in this check and method works incorrectly allowing to application to use port 22

Dmytro Dovbii (ddovbii)
Changed in murano-apps:
assignee: nobody → Dmytro Dovbii (ddovbii)
Revision history for this message
Dmytro Dovbii (ddovbii) wrote :
Changed in murano-apps:
status: New → Fix Committed
Revision history for this message
Serg Melikyan (smelikyan) wrote :
Changed in murano-apps:
milestone: none → liberty-3
importance: Undecided → High
Changed in murano-apps:
status: Fix Committed → Fix Released
Changed in murano-apps:
milestone: liberty-3 → 1.0.0
Changed in murano-apps:
milestone: 1.0.0 → 1.0.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.