Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce docs for arrays on env vars #706

Merged
merged 2 commits into from
Oct 1, 2020

Conversation

ignasi35
Copy link
Contributor

No description provided.

README.md Outdated Show resolved Hide resolved
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
@@ -684,6 +684,20 @@ With this option enabled only environment variables starting with
i.e. The environment variable `CONFIG_FORCE_a_b__c___d` set the
configuration key `a.b-c_d`

### Set array values from env variables

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

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