Skip to content

Commit

Permalink
add payload schema
Browse files Browse the repository at this point in the history
  • Loading branch information
ngschmidt committed Jan 3, 2023
1 parent 7d095c0 commit f2d8ba2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions vsphere_rest/deploy_clib_vm.py
Original file line number Diff line number Diff line change
Expand Up @@ -55,13 +55,14 @@
input_endpoint=os.getenv("API_ENDPOINT"),
)

# Define the JSON Payload as a schema:
"""
# Define the JSON Payload as a schema. It'll be overwritten if a file is provided later
json_payload = {
"id": False,
"name": False,
"datastore": False,
"folder": False,
"cluster": False,
}
"""
json_payload = {}

if args.p:
# Load Settings from JSON
Expand Down

0 comments on commit f2d8ba2

Please sign in to comment.