diff options
| author | Matt Riedemann <mriedem.os@gmail.com> | 2018-06-08 11:13:40 -0400 |
|---|---|---|
| committer | Matt Riedemann <mriedem.os@gmail.com> | 2018-06-08 11:13:40 -0400 |
| commit | 56b346754992adeef18257598c6f840027394377 (patch) | |
| tree | 59772e4e920e8b3dd8523eaa0036d204918dc0e6 /openstackclient/tests/functional | |
| parent | e8c731547d85b1241c7898d2fb77b8d635901dfd (diff) | |
| download | python-openstackclient-56b346754992adeef18257598c6f840027394377.tar.gz | |
Use Server.to_dict() rather than Server._info
There is a to_dict() method on the Server object from
python-novaclient which makes a deepcopy of the internal
Server._info - use this instead of accessing the _info
attribute directly.
Also, while in here, fixed a typo in _prep_server_detail.
Change-Id: I679b4489c815f8a54368ef6b23b9f77e75b4d0bc
Diffstat (limited to 'openstackclient/tests/functional')
0 files changed, 0 insertions, 0 deletions
