forked from cerc-io/snowballtools-base
Check deployment status while creating project with single deployer (#15)
Part of [Service provider auctions for web deployments](https://www.notion.so/Service-provider-auctions-for-web-deployments-104a6b22d47280dbad51d28aa3a91d75) - Use deployer API to get status of the deployments Co-authored-by: Shreerang Kale <shreerangkale@gmail.com> Co-authored-by: IshaVenikar <ishavenikar7@gmail.com> Co-authored-by: Adw8 <adwaitgharpure@gmail.com> Reviewed-on: cerc-io/snowballtools-base#15 Co-authored-by: Nabarun Gogoi <nabarun@deepstacksoft.com> Co-committed-by: Nabarun Gogoi <nabarun@deepstacksoft.com>
This commit is contained in:
1 parent
be90fc76c1
commit
2a35ec1cd5
9 files changed
+157
-147
No files matched your search
@@ -1348,7 +1348,7 @@ export class Service {
|
||||
const deployers: Deployer[] = [];
|
||||
|
||||
for (const record of deployerRecords) {
|
||||
if (record.names.length > 0) {
|
||||
if (record.names && record.names.length > 0) {
|
||||
const deployerId = record.id;
|
||||
const deployerLrn = record.names[0];
|
||||
const deployerApiUrl = record.attributes.apiUrl;
|
||||
|
||||
Reference in new issue
Block a user