Open imiric opened 4 years ago
I think it's not us but the envconfig.
I raised an issue and made the PR to fix it https://github.com/kelseyhightower/envconfig/issues/157
envconfig
seems to be unmaintained and the PR is no getting reviews. The suggestion here is to add a specific code on k6 side for fixing this specific issue then add a comment mentioning the PR. In the comment a mention to #883, which probably will provide the optimal solution, should be added.
given that we no longer use hte orignal envconfig but a fork ... we might want to merge this PR there - if that mkaes more sense.
But IMO more testing is needed.
Oh, I forgot about the fork! Sure, we can merge the PR there + more tests and then we need to bump the dependency here in k6.
Current behavior on
master
(a2e1c6f4e6207d69461a1b0f24c3aa2c72233101
):Passing it via CLI works fine (
go run main.go run --blacklist-ip '10.0.0.0/8' samples/thresholds.js
).