I prefer option 2. It looks more reliable than option 1.
On Wed, Mar 11, 2020 at 8:37 PM Ming Wen <[email protected]> wrote: > can you give some examples to explain the start fail? > > YuanSheng Wang <[email protected]>于2020年3月11日 周三下午8:16写道: > > > Hi: > > > > Apache APISIX users use a different version of `conf/config.yaml`, > > this caused the service to fail to start. > > > > The update of Apache APISIX may cause the file `conf / config.yaml` to > > be incompatible. > > > > There are two ways to resolve this bug: > > 1 Uses a version field in the file `conf/config.yaml`, the Apache > > APISIX can only work with the specified version config file. > > 2 Uses `jsonschema`[1] to check the configuration and identify such > > errors early. > > > > [1] https://github.com/api7/jsonschema > > > > -- > > MembPhis > > My github: https://github.com/membphis > > Apache APISIX: https://github.com/apache/incubator-apisix > > > -- > Thanks, > Ming Wen, Apache APISIX & Apache SkyWalking > Twitter: _WenMing >
