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 <[email protected]> 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: [email protected] For additional commands, e-mail: [email protected]
