f236869b77
If 'network' was supplied to create_server() along with an empty 'nics' list, we would never attempt to find the network. The os_server Ansible module uses the API this way. This treats an empty list the same as if the 'nics' parameter were never supplied. Change-Id: Idc844fab2c4c08f158c892104d065e5554ed90f3
7 lines
260 B
YAML
7 lines
260 B
YAML
---
|
|
fixes:
|
|
- The create_server() API call would not use the supplied 'network'
|
|
parameter if the 'nics' parameter was also supplied, even though it would
|
|
be an empty list. It now uses 'network' if 'nics' is not supplied or if
|
|
it is an empty list.
|