Commit f9cc901
compute: Workaround bug #2089821
By passing a dict instead of a single value, we force SDK to populate
the correct attribute on the object.
Also fixed conflicts in openstackclient/compute/v2/server.py added by
ece30e8
Change-Id: I9f4c5964dc0546215474c92db567966ffad68a1a
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
Related-bug: #2089821
(cherry picked from commit 22b30b9)1 parent 8390467 commit f9cc901Copy full SHA for f9cc901
2 files changed
+10-6Lines changed: 10 additions & 6 deletions
File tree
Expand file treeCollapse file tree
Open diff view settings
Filter options
- openstackclient
- compute/v2
- tests/unit/compute/v2
Expand file treeCollapse file tree
Open diff view settings
Collapse file
openstackclient/compute/v2/server.py
Copy file name to clipboardExpand all lines: openstackclient/compute/v2/server.py+6-2Lines changed: 6 additions & 2 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
701 | 701 | |
702 | 702 | |
703 | 703 | |
704 | | - |
| 704 | + |
| 705 | + |
| 706 | + |
| 707 | + |
705 | 708 | |
706 | 709 | |
707 | 710 | |
| ||
4039 | 4042 | |
4040 | 4043 | |
4041 | 4044 | |
4042 | | - |
| 4045 | + |
| 4046 | + |
4043 | 4047 | |
4044 | 4048 | |
4045 | 4049 | |
|
Collapse file
openstackclient/tests/unit/compute/v2/test_server.py
Copy file name to clipboardExpand all lines: openstackclient/tests/unit/compute/v2/test_server.py+4-4Lines changed: 4 additions & 4 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
1186 | 1186 | |
1187 | 1187 | |
1188 | 1188 | |
1189 | | - |
| 1189 | + |
1190 | 1190 | |
1191 | 1191 | |
1192 | 1192 | |
| ||
1207 | 1207 | |
1208 | 1208 | |
1209 | 1209 | |
1210 | | - |
| 1210 | + |
1211 | 1211 | |
1212 | 1212 | |
1213 | 1213 | |
| ||
7394 | 7394 | |
7395 | 7395 | |
7396 | 7396 | |
7397 | | - |
| 7397 | + |
7398 | 7398 | |
7399 | 7399 | |
7400 | 7400 | |
| ||
7415 | 7415 | |
7416 | 7416 | |
7417 | 7417 | |
7418 | | - |
| 7418 | + |
7419 | 7419 | |
7420 | 7420 | |
7421 | 7421 | |
|
0 commit comments