mirror of
https://github.com/kata-containers/kata-containers.git
synced 2025-09-25 18:53:44 +00:00
genpolicy: fix settings path flag name
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. Signed-off-by: Moritz Sanft <58110325+msanft@users.noreply.github.com>
This commit is contained in:
@@ -74,7 +74,7 @@ impl Settings {
|
||||
debug!("settings = {:?}", &settings);
|
||||
settings
|
||||
} else {
|
||||
panic!("Cannot open file {}. Please copy it to the current directory or specify the path to it using the -p parameter.",
|
||||
panic!("Cannot open file {}. Please copy it to the current directory or specify the path to it using the -j parameter.",
|
||||
json_settings_path);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user