Skip to content

Introduce docs for arrays on env vars#706

Merged
sebastian-alfers merged 2 commits intolightbend:masterfrom
ignasi35:arrays-in-cli
Oct 1, 2020
Merged

Introduce docs for arrays on env vars#706
sebastian-alfers merged 2 commits intolightbend:masterfrom
ignasi35:arrays-in-cli

Conversation

@ignasi35
Copy link
Contributor

No description provided.

items = ["a", "b"]
items += "c"

using java arguments you specify the exact position:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
using java arguments you specify the exact position:
Using java arguments you specify the exact position:

@sebastian-alfers sebastian-alfers merged commit 8648e07 into lightbend:master Oct 1, 2020

### Set array values from env variables

Setting the value of array items from environment variables requires
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You mean a system property, not environment variables, right, from the example you give at the end?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You're right, I fixed one occurrence but not the other.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

raised #710

@ignasi35 ignasi35 mentioned this pull request Oct 1, 2020
### Set array values from env variables

Setting the value of array items from environment variables requires
specifing the index in the array for the value. So, while in HOCON

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

specifying

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants