vantage-sh / ec2instances.info

Amazon EC2 instance comparison site
https://ec2instances.info
MIT License
5.11k stars 578 forks source link

Avoid creation of empty data for Chinese regions #684

Closed cristim closed 1 year ago

cristim commented 1 year ago

This helps remove this workaround https://github.com/LeanerCloud/ec2-instances-info/blob/master/Makefile#L21 and also makes the data file slightly smaller.

root@bfcdece0c60e:/opt/app# curl -s localhost:8080/instances.json  | grep eu-west | wc -l
2585
root@bfcdece0c60e:/opt/app# curl -s localhost:8080/instances.json  | grep cn | wc -l
0