You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@apisix.apache.org by GitBox <gi...@apache.org> on 2020/04/01 07:02:23 UTC
[GitHub] [incubator-apisix] rhubard opened a new issue #1382: bug: yaml file
array format problem
rhubard opened a new issue #1382: bug: yaml file array format problem
URL: https://github.com/apache/incubator-apisix/issues/1382
### Issue description
```yaml
routes:
- uri: "/*"
vars:
-
- "scheme"
- "=="
- "http"
```
this configure can work normally, but yaml will give an error if you write like this
```yaml
routes:
- uri: "/*"
vars:
- - "scheme"
- "=="
- "http"
```
### Environment
* apisix version (cmd: `apisix version`):
* OS:
### Minimal test code / Steps to reproduce the issue
1.
2.
3.
### What's the actual result? (including assertion message & call stack if applicable)

### What's the expected result?
As long as the yaml array is legal, it should be supported
----------------------------------------------------------------
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
[GitHub] [incubator-apisix] membphis commented on issue #1382: bug: yaml
file array format problem
Posted by GitBox <gi...@apache.org>.
membphis commented on issue #1382: bug: yaml file array format problem
URL: https://github.com/apache/incubator-apisix/issues/1382#issuecomment-607602399
that should be a bug of `lua-tinyyaml`
----------------------------------------------------------------
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
[GitHub] [apisix] membphis closed issue #1382: bug: yaml file array format problem
Posted by GitBox <gi...@apache.org>.
membphis closed issue #1382:
URL: https://github.com/apache/apisix/issues/1382
----------------------------------------------------------------
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
[GitHub] [incubator-apisix] spacewander commented on issue #1382: bug: yaml
file array format problem
Posted by GitBox <gi...@apache.org>.
spacewander commented on issue #1382: bug: yaml file array format problem
URL: https://github.com/apache/incubator-apisix/issues/1382#issuecomment-613342352
I just submitted a PR to fix it: https://github.com/peposso/lua-tinyyaml/pull/5
----------------------------------------------------------------
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