Make new-style single endpoint version discovery actually work for ironic
For (unclear) historical reasons the root single version endpoint also contains "id" and "links" fields. This makes the current workaround for old-style endpoints take priority over the correct algorithm. This change reorders the code, so that if "version" is present, it always take priority over the workaround. The unit tests are updated to be closer to real output from ironic. Change-Id: I743b954c6c5b2f986c213acb6ec6af7e08c9f5f8changes/80/612680/1 3.11.1
parent
87ca0d72fa
commit
72288d3b18
Loading…
Reference in New Issue