SDL/IP-lease: Default as
to port
value when as
is not set to avoid "SDL invalid: IP endpoint" error
#238
Labels
as
to port
value when as
is not set to avoid "SDL invalid: IP endpoint" error
#238
Issue
Dimokus reported an issue while deploying his SDL as he is trying to expose two ports (over the same endpoint of
ip
kind) using the IP leasing feature:Both: CLI & Console UI.
Fix
This error can be resolved by specifying the
as
value to match theport
value. For example:SDL contains only this endpoint:
Proposal
To prevent the "SDL invalid: IP endpoint" error when using
ip
kind endpoints, I suggest we default theas
field to theport
value ifas
is not explicitly set.References
as
setThe text was updated successfully, but these errors were encountered: