Fix typo in Kubernetes Cluster app
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 Change-Id: I4e6be454b9ee3d6f5f594856610c201e741f310d Closes-Bug: #1481748
This commit is contained in:
parent
68460692f1
commit
f5d67b622d
@ -1,4 +1,4 @@
|
||||
# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
z# Licensed under the Apache License, Version 2.0 (the "License"); you may
|
||||
# not use this file except in compliance with the License. You may obtain
|
||||
# a copy of the License at
|
||||
#
|
||||
@ -425,7 +425,7 @@ Methods:
|
||||
- protocol:
|
||||
Contract: $.string().notNull()
|
||||
Body:
|
||||
- If: initial != 22 and $._checkIfPortIsNotUsed($initial, $protocol)
|
||||
- If: $initial != 22 and $._checkIfPortIsNotUsed($initial, $protocol)
|
||||
Then:
|
||||
Return: $initial
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user