Skip to content

Commit b4406cf

Browse files
authored
Merge pull request #859 from Gijsreyn/fix-pending-reboot
Convert pending reboot to object
2 parents 007b9b2 + 504ac63 commit b4406cf

File tree

1 file changed

+11
-4
lines changed

1 file changed

+11
-4
lines changed

reboot_pending/reboot_pending.dsc.resource.json

Lines changed: 11 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,16 +13,23 @@
1313
"reboot_pending.resource.ps1"
1414
]
1515
},
16+
"exitCodes": {
17+
"0": "Success",
18+
"1": "Error"
19+
},
1620
"schema": {
1721
"embedded": {
1822
"$schema": "https://json-schema.org/draft/2020-12/schema",
19-
"type": "null",
23+
"type": [
24+
"object",
25+
"null"
26+
],
2027
"properties": {
2128
"rebootPending": {
22-
"type": "boolean",
23-
"readOnly": true
29+
"type": "boolean",
30+
"readOnly": true
2431
}
2532
}
2633
}
2734
}
28-
}
35+
}

0 commit comments

Comments
 (0)