Commit a982dfb
committed
fix: EnvironmentActions validation edge case
The EnvironmentActions oneOf validator assumed that actions was a dictionary.
If the template being validated had an environment action of any other type then an AttributeError would throw
Signed-off-by: Preston Tamkin <845970+prestomation@users.noreply.github.com>1 parent 9b0265e commit a982dfb
File tree
2 files changed
+14
-0
lines changed- src/openjd/model/v2023_09
- test/openjd/model/v2023_09
2 files changed
+14
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
351 | 351 | | |
352 | 352 | | |
353 | 353 | | |
| 354 | + | |
| 355 | + | |
| 356 | + | |
354 | 357 | | |
355 | 358 | | |
356 | 359 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1128 | 1128 | | |
1129 | 1129 | | |
1130 | 1130 | | |
| 1131 | + | |
| 1132 | + | |
| 1133 | + | |
| 1134 | + | |
| 1135 | + | |
| 1136 | + | |
| 1137 | + | |
| 1138 | + | |
| 1139 | + | |
| 1140 | + | |
| 1141 | + | |
1131 | 1142 | | |
1132 | 1143 | | |
1133 | 1144 | | |
| |||
0 commit comments