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
};