kata-containers / kata-containers

Kata Containers is an open source project and community working to build a standard implementation of lightweight Virtual Machines (VMs) that feel and perform like containers, but provide the workload isolation and security advantages of VMs. https://katacontainers.io/
Apache License 2.0
5.08k stars 1k forks source link

genpolicy: fix settings path flag name #9815

Closed msanft closed 1 week ago

msanft commented 2 weeks ago

This corrects the warning to point to the -j flag, which is the correct flag for the JSON settings file. Previously, the warning was confusing, as it pointed to the -p flag, which specifies to the path for the Rego ruleset.

danmihai1 commented 2 weeks ago

@msanft , when you get a chance, please look into:

https://github.com/kata-containers/kata-containers/actions/runs/9464554802/job/26088962782?pr=9815

Commit Message Check

  4738408f9f4da3bf7be082ae2e0ea83fdf764ab7    Body line too long (max 150)

These format requirements are documented in: https://github.com/kata-containers/community/blob/main/CONTRIBUTING.md#patch-format

msanft commented 2 weeks ago

Hey @danmihai1 - Thanks a lot for the heads-up. Should be fixed now :)