Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Commit

Permalink
Ensured that the type option for provisioners is required
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Aubert committed Mar 24, 2017
1 parent b2c3337 commit f36ce95
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lxdock/conf/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@

# Inserts provisioner specific schema rules in the global schema dict.
_top_level_and_containers_common_options['provisioning'] = [
Any(*[dict([('type', provisioner.name), ] + list(provisioner.schema.items()))
Any(*[dict([(Required('type'), provisioner.name), ] + list(provisioner.schema.items()))
for provisioner in Provisioner.provisioners.values()]),
]

Expand Down

0 comments on commit f36ce95

Please sign in to comment.