Explorar o código

adjusted to accept integers and strings

Tony Fernandez hai 8 meses
pai
achega
60c5949c23
Modificáronse 1 ficheiros con 6 adicións e 6 borrados
  1. 6 6
      borgmatic/config/schema.yaml

+ 6 - 6
borgmatic/config/schema.yaml

@@ -1646,25 +1646,25 @@ properties:
                 type: object
                 properties:
                     value:
-                        type: string
+                        type: ["integer", "string"]
                         description: |
-                            The string to set the item value to on start.
+                            The value to set the item to on start.
                         example: STARTED
             finish:
                 type: object
                 properties:
                     value:
-                        type: string
+                        type: ["integer", "string"]
                         description: |
-                            The string to set the item value to on finish.
+                            The value to set the item to on finish.
                         example: FINISH
             fail:
                 type: object
                 properties:
                     value:
-                        type: string
+                        type: ["integer", "string"]
                         description: |
-                            The string to set the item value to on fail.
+                            The value to set the item to on fail.
                         example: ERROR
             states:
                 type: array