mirror of
https://git.dn42.dev/dn42/registry.git
synced 2025-05-06 12:45:21 +08:00
format policy output
This commit is contained in:
parent
b4bf52018f
commit
34b85e24a2
1 changed files with 1 additions and 1 deletions
|
@ -846,7 +846,7 @@ if __name__ == '__main__':
|
|||
|
||||
status = test_policy(args["type"], args["name"], args["mntner"])
|
||||
|
||||
print("POLICY", args["mntner"], args["type"], args["name"], status)
|
||||
print("POLICY %12s\t%12s\t%20s\t%s" %(args["mntner"], args["type"], args["name"], status))
|
||||
if status != "PASS":
|
||||
sys.exit(1)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue