You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/12/12 16:24:19 UTC
[GitHub] [couchdb] wohali commented on issue #2293: Allow override of
`-couch_ini` parameter
wohali commented on issue #2293: Allow override of `-couch_ini` parameter
URL: https://github.com/apache/couchdb/pull/2293#issuecomment-565078825
@adrienverge Are you sure this works correctly when specifying no list? My read of the source code suggests that it won't:
https://github.com/apache/couchdb-config/blob/master/src/config_app.erl#L30-L48
and:
```
$ erl -a b
Erlang/OTP 21 [erts-10.2.4] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1]
Eshell V10.2.4 (abort with ^G)
1> init:get_argument(a).
{ok,[["b"]]}
2>
User switch command
--> q
$ erl -a
Erlang/OTP 21 [erts-10.2.4] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1]
Eshell V10.2.4 (abort with ^G)
1> init:get_argument(a).
{ok,[[]]}
2>
User switch command
--> q
$ erl
Erlang/OTP 21 [erts-10.2.4] [source] [64-bit] [smp:2:2] [ds:2:2:10] [async-threads:1]
Eshell V10.2.4 (abort with ^G)
1> init:get_argument(a).
error
2>
User switch command
--> q
```
Because an empty list returns success, I think this overrides the default order. Can you confirm?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services