mirror of
https://github.com/yldio/copilot.git
synced 2024-11-14 23:30:05 +02:00
fix(portal-data): don't fallback on service slug
This commit is contained in:
parent
a2e0100f5e
commit
bb99662976
@ -69,7 +69,7 @@ exports.toService = function (clientService) {
|
|||||||
version_hash: clientService.hash || clientService.name,
|
version_hash: clientService.hash || clientService.name,
|
||||||
deployment_group_id: clientService.deploymentGroupId,
|
deployment_group_id: clientService.deploymentGroupId,
|
||||||
name: clientService.name,
|
name: clientService.name,
|
||||||
slug: clientService.slug || '',
|
slug: clientService.slug,
|
||||||
environment: clientService.environment || {},
|
environment: clientService.environment || {},
|
||||||
instance_ids: clientService.instances ? clientService.instances.map((instance) => { return instance.id; }) : [],
|
instance_ids: clientService.instances ? clientService.instances.map((instance) => { return instance.id; }) : [],
|
||||||
service_dependency_ids: clientService.connections || [],
|
service_dependency_ids: clientService.connections || [],
|
||||||
|
Loading…
Reference in New Issue
Block a user