1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-14 23:30:05 +02:00

feat(portal-api): set ACTIVE statuses for imported service/dg

This commit is contained in:
Sérgio Ramos 2017-07-19 17:06:45 +01:00 committed by Judit Greskovits
parent 4d8f6a1d4f
commit 0a8fa05498

View File

@ -2286,6 +2286,7 @@ class Data extends EventEmitter {
[attr]: { [attr]: {
hash, hash,
name: tags[SERVICE], name: tags[SERVICE],
status: 'ACTIVE',
slug, slug,
instances: [instance] instances: [instance]
} }
@ -2323,6 +2324,7 @@ class Data extends EventEmitter {
const deploymentGroup = { const deploymentGroup = {
name: tags[DEPLOYMENT_GROUP], name: tags[DEPLOYMENT_GROUP],
slug: ParamCase(tags[DEPLOYMENT_GROUP]), slug: ParamCase(tags[DEPLOYMENT_GROUP]),
status: 'ACTIVE',
imported: true imported: true
}; };