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:
parent
4d8f6a1d4f
commit
0a8fa05498
@ -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
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user