Apply new type format if used
After [0] service type can have new format and this patch applies this change to get list of services by provided fqns. [0] Icd3b5e238ad09584b4b7fdfb74120820078715c6 Change-Id: Id94980c82da2aac90ec98717c6f797695b293f57 Closes-bug: #1632293
This commit is contained in:
parent
9fb1fcb83c
commit
1144b3a915
@ -336,7 +336,8 @@ def service_list_by_fqns(request, environment_id, fqns):
|
||||
return []
|
||||
services = services_list(request, environment_id)
|
||||
LOG.debug('Service::Instances::List')
|
||||
return [service for service in services if service['?']['type'] in fqns]
|
||||
return [service for service in services
|
||||
if service['?']['type'].split('/')[0] in fqns]
|
||||
|
||||
|
||||
def service_create(request, environment_id, parameters):
|
||||
|
4
releasenotes/notes/fix_type_format-798a646071b1104b.yaml
Normal file
4
releasenotes/notes/fix_type_format-798a646071b1104b.yaml
Normal file
@ -0,0 +1,4 @@
|
||||
---
|
||||
fixes:
|
||||
- The issue with adding already deployed components to environment
|
||||
via dropdown is fixed with applying changes for the new type format.
|
Loading…
x
Reference in New Issue
Block a user