mirror of
https://github.com/yannh/kubeconform.git
synced 2026-02-11 14:09:21 +00:00
scripts: Pretty print JSON schemas
This commit is contained in:
parent
558c364dbc
commit
5ad6b481be
1 changed files with 1 additions and 1 deletions
|
|
@ -93,7 +93,7 @@ def write_schema_file(schema, filename):
|
|||
|
||||
schema = additional_properties(schema)
|
||||
schema = replace_int_or_string(schema)
|
||||
schemaJSON = json.dumps(schema)
|
||||
schemaJSON = json.dumps(schema, indent=2)
|
||||
|
||||
# Dealing with user input here..
|
||||
filename = os.path.basename(filename)
|
||||
|
|
|
|||
Loading…
Reference in a new issue