1
0
mirror of https://github.com/yldio/copilot.git synced 2024-11-28 06:00:06 +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]: {
hash,
name: tags[SERVICE],
status: 'ACTIVE',
slug,
instances: [instance]
}
@ -2323,6 +2324,7 @@ class Data extends EventEmitter {
const deploymentGroup = {
name: tags[DEPLOYMENT_GROUP],
slug: ParamCase(tags[DEPLOYMENT_GROUP]),
status: 'ACTIVE',
imported: true
};