ソースを参照

adjusted to accept integers and strings

Tony Fernandez 7 ヶ月 前
コミット
60c5949c23
1 ファイル変更6 行追加6 行削除
  1. 6 6
      borgmatic/config/schema.yaml

+ 6 - 6
borgmatic/config/schema.yaml

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