masterclock opened a new issue #119: hosts contains a `null` value when 
creating routes
URL: https://github.com/apache/incubator-apisix-dashboard/issues/119
 
 
   
![image](https://user-images.githubusercontent.com/4335809/72677992-d50f7e80-3adc-11ea-8dc0-3cbe26a9dbf9.png)
   
   saving results error message:
   ```
   invalid configuration: property "hosts" validation failed: failed to 
validate item 1: wrong type: expected string, got userdata
   ```
   
   by inspecting the api call payload:
   ```json
   
{"uris":["/testgw1"],"hosts":[null,"examples.com"],"upstream_id":"00000000000000000014","methods":["GET"],"plugins":{},"desc":"testgw1"}
   ```
   
   note there's a null in hosts

----------------------------------------------------------------
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:
[email protected]


With regards,
Apache Git Services

Reply via email to