Commit d58280a
Tang Chen
Use find_resource() instead of get() in _prep_server_detail()
There is such a comment in test_server.py:
# Call .get() to retrieve all of the server information
# as findall(name=blah) and REST /details are not the same
# and do not return flavor and image information.
This is an out of date comment. There is no function named
findall() in OSC now. So use find_resource() instead of get(),
and remove this comment.
Change-Id: I8d79afc5f341fb5caf771d905506b7f1c7a41ae81 parent 4cd702c commit d58280a
2 files changed
Lines changed: 6 additions & 11 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
117 | 117 | | |
118 | 118 | | |
119 | 119 | | |
120 | | - | |
121 | | - | |
122 | | - | |
123 | | - | |
| 120 | + | |
124 | 121 | | |
125 | 122 | | |
126 | 123 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1448 | 1448 | | |
1449 | 1449 | | |
1450 | 1450 | | |
1451 | | - | |
1452 | | - | |
1453 | | - | |
| 1451 | + | |
| 1452 | + | |
| 1453 | + | |
| 1454 | + | |
1454 | 1455 | | |
1455 | 1456 | | |
1456 | | - | |
1457 | | - | |
1458 | | - | |
1459 | 1457 | | |
1460 | 1458 | | |
1461 | 1459 | | |
| |||
1464 | 1462 | | |
1465 | 1463 | | |
1466 | 1464 | | |
1467 | | - | |
| 1465 | + | |
1468 | 1466 | | |
1469 | 1467 | | |
1470 | 1468 | | |
| |||
0 commit comments