Commit 9cf1e6d
committed
fix: make
This makes these fields optional in PATCH /machine-config requests. The
comment on this structure says that all fields should be optional, and I
dont quite see why these two should be different. Thus, add
`serde(default)` to avoid forcing customers to explicitly set them to
`null` if they do not want to update these parts of the machine config.
Signed-off-by: Patrick Roy <[email protected]>mem_size_mib and track_dirty_pages optional1 parent 3afaf94 commit 9cf1e6d
2 files changed
+6
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
34 | 38 | | |
35 | 39 | | |
36 | 40 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
136 | 136 | | |
137 | 137 | | |
138 | 138 | | |
| 139 | + | |
139 | 140 | | |
140 | 141 | | |
141 | 142 | | |
| |||
144 | 145 | | |
145 | 146 | | |
146 | 147 | | |
| 148 | + | |
147 | 149 | | |
148 | 150 | | |
149 | 151 | | |
| |||
0 commit comments