[arvados-workbench2] updated: 2.4.0-228-ga8db9794
git repository hosting
git at public.arvados.org
Mon Oct 3 10:59:31 UTC 2022
Summary of changes:
src/common/frozen-resources.ts | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
via a8db97945dc2474759e99e588b63791a7b1ee5a9 (commit)
from 6ec656e63158b084e0c62abf0761b6ee84118fac (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
commit a8db97945dc2474759e99e588b63791a7b1ee5a9
Author: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
Date: Mon Oct 3 12:58:58 2022 +0200
18692: Aditional while loop variable added
Arvados-DCO-1.1-Signed-off-by: Daniel Kutyła <daniel.kutyla at contractors.roche.com>
diff --git a/src/common/frozen-resources.ts b/src/common/frozen-resources.ts
index 7670720a..7981ace0 100644
--- a/src/common/frozen-resources.ts
+++ b/src/common/frozen-resources.ts
@@ -9,7 +9,8 @@ export const resourceIsFrozen = (resource: any, resources): boolean => {
let isFrozen: boolean = !!resource.frozenByUuid;
let ownerUuid: string | undefined = resource?.ownerUuid;
- while(!isFrozen && !!ownerUuid && resource.uuid !== ownerUuid) {
+ while(!isFrozen && !!ownerUuid && ownerUuid.indexOf('000000000000000') === -1) {
+ console.log(isFrozen, ownerUuid, resource.uuid, resource);
const parentResource: ProjectResource | undefined = getResource<ProjectResource>(ownerUuid)(resources);
isFrozen = !!parentResource?.frozenByUuid;
ownerUuid = parentResource?.ownerUuid;
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list