You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by hs...@apache.org on 2022/07/07 07:14:24 UTC
[incubator-datalab] 01/01: added console.log
This is an automated email from the ASF dual-hosted git repository.
hshpak pushed a commit to branch fix/DATALAB-2842/button-visibility-of-edge-node-recreation
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 03a2cf24d38d3ee100eafdb8d3b32bccd4e3c56e
Author: Hennadii_Shpak <bo...@gmail.com>
AuthorDate: Thu Jul 7 10:14:12 2022 +0300
added console.log
---
.../src/main/resources/webapp/src/app/core/util/checkEndpointList.ts | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/services/self-service/src/main/resources/webapp/src/app/core/util/checkEndpointList.ts b/services/self-service/src/main/resources/webapp/src/app/core/util/checkEndpointList.ts
index b50853293..721521abe 100644
--- a/services/self-service/src/main/resources/webapp/src/app/core/util/checkEndpointList.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/core/util/checkEndpointList.ts
@@ -23,7 +23,7 @@ export const checkEndpointList = (endpointList: ModifiedEndpoint[]): boolean =>
return endpointList.every(({status, endpointStatus}) => {
const isEdgeNodeInactive = status === 'TERMINATED' || status === 'FAILED';
const isEndpointInactive = !endpointStatus || endpointStatus === 'INACTIVE';
-
+ console.log('isEdgeNodeInactive', isEdgeNodeInactive, 'isEndpointInactive', isEndpointInactive, 'isEdgeNodeInactive && isEndpointInactive', isEdgeNodeInactive && isEndpointInactive);
return isEdgeNodeInactive && isEndpointInactive;
}
);
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@datalab.apache.org
For additional commands, e-mail: commits-help@datalab.apache.org