lets-fiware / FIWARE-Big-Bang

The FIWARE Big Bang is a turnkey solution for setting up a FIWARE instance in the cloud.
https://fi-bb.letsfiware.jp/
MIT License
21 stars 7 forks source link

NODE_RED_INSTANCE_NUMBER out of range with `1` #373

Closed dkastl closed 6 months ago

dkastl commented 6 months ago

Checklist Put an x in the boxes that apply

Describe the bug

When I specify

NODE_RED_INSTANCE_NUMBER=1

an error is thrown like

error: NODE_RED_INSTANCE_NUMBER out of range (2-20)

However, if the setting is without explicit value

NODE_RED_INSTANCE_NUMBER=

Then 1 instance is created as the default value claims: https://github.com/lets-fiware/FIWARE-Big-Bang/blob/main/config.sh#L314

Your system environment

This is independent from the system environment.

To Reproduce

See above.

Expected behavior

Probably specifying 1 for NODE_RED_INSTANCE_NUMBER should not produce an error and create a single Nodered instance as the default does.

Screenshots If applicable, add screenshots to help explain your problem.

Server (please complete the following information):

Additional context Add any other context about the problem here. To resolve this issue, you need to provide complete information about your scenario.

fisuda commented 6 months ago

Fixed by the PR #375.