Commit 7ba2f3c
authored
Fix
Fixes this error:
```
$ dstack event
Server validation error:
{'detail': [{'loc': ['body', 'target_gateways'],
'msg': 'extra fields not permitted',
'type': 'value_error.extra'},
{'loc': ['body', 'target_secrets'],
'msg': 'extra fields not permitted',
'type': 'value_error.extra'},
{'loc': ['body', 'target_volumes'],
'msg': 'extra fields not permitted',
'type': 'value_error.extra'}]}
```dstack event compat. with older servers (#3509)1 parent 6da1554 commit 7ba2f3c
File tree
2 files changed
+17
-1
lines changed- src/dstack
- _internal/core/compatibility
- api/server
2 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
| 7 | + | |
7 | 8 | | |
8 | 9 | | |
9 | 10 | | |
| |||
57 | 58 | | |
58 | 59 | | |
59 | 60 | | |
60 | | - | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
61 | 64 | | |
0 commit comments