Commit aab47aa
committed
Fix instances.create to send empty arrays instead of null for volumes parameters
When volumes or existing_volumes parameters are None, send empty arrays []
to the REST API instead of null values. This ensures API compatibility and
proper validation.
Fixes #561 parent f0c0829 commit aab47aa
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
174 | | - | |
175 | | - | |
| 174 | + | |
| 175 | + | |
176 | 176 | | |
177 | 177 | | |
178 | 178 | | |
| |||
0 commit comments