Azure / azure-linux-extensions

Linux Virtual Machine Extensions for Azure
Apache License 2.0
301 stars 251 forks source link

Fix AMA HandlerManifest.json syntax #1878

Closed hestolz closed 5 months ago

hestolz commented 5 months ago

json_pp and jq both present in mariner build container for extension packaging step. per some research, json_pp has more helpful error messages and tends to be stricter / closer to JSON spec when validating. Example with previously-incorrect HandlerManifest.json:

, or } expected while parsing object/hash, at character offset 583 (before ""cpuQuotaPercentage"...") at /usr/bin/json_pp line 59.