Containers-Toolkit is a Windows PowerShell module for downloading, installing, and setting up default configs for Containerd, BuildKit, Windows CNI plugin, and nerdctl.
The command syntax for Test-JSON differs between PowerShell versions 7.2 (used in #35) and 7.4 (used to develop this module). For backward compatibility, we use the syntax common to both versions: Test-Json -Json -Schema instead of Test-Json -Path -SchemaFile .
[x] You've reviewed the PR/code best practices defined in the CONTRIBUTING.md.
In addition, after this PR has been reviewed, please agree to:
[ ] If changes have been made to your PR in the process of addressing comments, please make sure to test again the final version in both AMD and ARM64 environments.
[ ] Validate your changes have not introduced any regressions.
PR description
The command syntax for Test-JSON differs between PowerShell versions 7.2 (used in #35) and 7.4 (used to develop this module). For backward compatibility, we use the syntax common to both versions: Test-Json -Json -Schema instead of Test-Json -Path -SchemaFile .
Github issue/ discussion
Issue #35
Relevant links
Checklist
As part of our commitment to engineering excellence, before submitting this PR, please make sure:
In addition, after this PR has been reviewed, please agree to: