Fix comparison for Antelope wrap
Use CompareOpenStackReleases to ensure 'antelope' is greater than 'zed', for example. Change-Id: I3cf34dbf596c63484ada442c91aa51adab5a7fad
This commit is contained in:
parent
a6de5f8d77
commit
b5193940b2
@ -667,7 +667,7 @@ def remap_service(service_name):
|
||||
:param service_name: name of service to remap
|
||||
:returns: remapped service name or original value
|
||||
'''
|
||||
source = os_release('neutron-common')
|
||||
source = CompareOpenStackReleases(os_release('neutron-common'))
|
||||
for rename_source in SERVICE_RENAMES:
|
||||
if (source >= rename_source and
|
||||
service_name in SERVICE_RENAMES[rename_source]):
|
||||
|
Loading…
Reference in New Issue
Block a user