You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dg...@apache.org on 2019/12/19 13:44:31 UTC

[incubator-dlab] branch DLAB-1402 updated: [DLAB-1402] Fixed termination condition

This is an automated email from the ASF dual-hosted git repository.

dgnatyshyn pushed a commit to branch DLAB-1402
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git


The following commit(s) were added to refs/heads/DLAB-1402 by this push:
     new 49310a5  [DLAB-1402] Fixed termination condition
49310a5 is described below

commit 49310a51e3abfe1cc757c9101bd65a586537cce1
Author: Dmytro Gnatyshyn <di...@ukr.net>
AuthorDate: Thu Dec 19 15:44:06 2019 +0200

    [DLAB-1402] Fixed termination condition
---
 .../src/app/administration/management/endpoints/endpoints.component.ts  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/management/endpoints/endpoints.component.ts b/services/self-service/src/main/resources/webapp/src/app/administration/management/endpoints/endpoints.component.ts
index fa7b9a7..97aa6af 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/management/endpoints/endpoints.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/management/endpoints/endpoints.component.ts
@@ -76,7 +76,7 @@ export class EndpointsComponent implements OnInit {
             project.name,
             resource.exploratories.filter(notebook => notebook.project === project.name),
             project.endpoints.filter(endpoint => endpoint.name === data.name)[0].status))
-          .filter(project => project.nodeStatus !== "TERMINATED")))
+          .filter(project => project.nodeStatus !== "TERMINATED" && project.nodeStatus !== "TERMINATING" && project.nodeStatus !== "FAILED")))
       .subscribe((resource: any) => {
          this.dialog.open(NotificationDialogComponent, { data: { type: 'confirmation', item: data, list:  resource }, panelClass: 'modal-sm' })
          .afterClosed().subscribe(result => {


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org