validate: add support for both jsonschema v3 and old v2 #459

Merged
witten merged 1 commits from kimheino/borgmatic:master into master 2021-10-23 16:47:54 +00:00

1 Commits

Author SHA1 Message Date
Kim B. Heino 717cfd2d37 validate: add support for both jsonschema v3 and old v2
continuous-integration/drone/pr Build is failing Details
RHEL8 and RHEL7 have old jsonschema v2. Try v3 (Draft7) first but
fallback to v2 (Draft4) if needed.
2021-10-23 15:04:07 +03:00