Commit 4a4be32f authored by Nicolas Wavrant's avatar Nicolas Wavrant

slaprunner: do not use enums of integers in resilient-input-schema.json

Enum values are interpreted as strings in the web ui, which makes
impossible to chosse the number of backups.

Also, set the minimum number of backup to 0, as it is now possible.
parent 0d39fab6
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
"description": "Amount of backup(s) to create. Each backup consists of a Pull Backup Server and a clone.", "description": "Amount of backup(s) to create. Each backup consists of a Pull Backup Server and a clone.",
"type": "integer", "type": "integer",
"default": 1, "default": 1,
"enum": [1, 2], "minimum": 0,
"maximum": 2,
"optional": true "optional": true
}, },
"-sla-runner0-computer_guid": { "-sla-runner0-computer_guid": {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment