mirror of
https://git.dn42.dev/dn42/registry.git
synced 2025-07-19 08:56:59 +08:00
test policy check
This commit is contained in:
parent
185a416c87
commit
96ec07bdfb
3 changed files with 9 additions and 7 deletions
|
@ -826,7 +826,7 @@ if __name__ == '__main__':
|
|||
|
||||
status = test_policy(args["type"], args["name"], args["mntner"])
|
||||
|
||||
print(status)
|
||||
print("POLICY", args["mntner"], args["type"], args["name"], status)
|
||||
if status != "PASS":
|
||||
sys.exit(1)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue