liuxiran commented on issue #1803:
URL:
https://github.com/apache/apisix-dashboard/issues/1803#issuecomment-823120920
Hi @ericsyh thanks for your report.
Acctually from the funcitonal point of view, the empty node list is a
feature, see:
`The nodes can be empty, which means it is a placeholder and will be filled
later. Clients use such an upstream will get 502 response.`
(come from
https://github.com/apache/apisix/blob/master/docs/en/latest/admin-api.md#upstream)
But from the UE point of view, an upstream can not be used with the empty
node list, so keep at least one node in the node list is better.
How about add this restriction to the dashboard?
Let's wait for others option @juzhiyuan @LiteSun @nic-chen @imjoey
--
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]