[ARVADOS-WORKBENCH2] updated: 1.2.0-191-g2d88786
Git user
git at public.curoverse.com
Wed Aug 29 10:12:08 EDT 2018
Summary of changes:
src/store/processes/process.ts | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
via 2d887860caa003ddaf69d1f85ebdaf208e0b74c1 (commit)
from 5163a70c5624a52c802a37d66b806b5e718c4151 (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 2d887860caa003ddaf69d1f85ebdaf208e0b74c1
Author: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
Date: Wed Aug 29 16:11:48 2018 +0200
Delete unused parameter
Feature #14099
Arvados-DCO-1.1-Signed-off-by: Michal Klobukowski <michal.klobukowski at contractors.roche.com>
diff --git a/src/store/processes/process.ts b/src/store/processes/process.ts
index ff3125c..46d8a25 100644
--- a/src/store/processes/process.ts
+++ b/src/store/processes/process.ts
@@ -28,7 +28,7 @@ export const getProcess = (uuid: string) => (resources: ResourcesState): Process
};
export const getSubprocesses = (uuid: string) => (resources: ResourcesState) => {
- const containerRequests = filterResources(isSubprocess(uuid)(resources))(resources) as ContainerRequestResource[];
+ const containerRequests = filterResources(isSubprocess(uuid))(resources) as ContainerRequestResource[];
return containerRequests.reduce((subprocesses, { uuid }) => {
const process = getProcess(uuid)(resources);
return process
@@ -42,6 +42,6 @@ export const getProcessStatus = (process: Process) =>
? process.container.state
: process.containerRequest.state;
-const isSubprocess = (uuid: string) => (resources: ResourcesState) => (resource: Resource) =>
+const isSubprocess = (uuid: string) => (resource: Resource) =>
resource.kind === ResourceKind.CONTAINER_REQUEST
&& (resource as ContainerRequestResource).requestingContainerUuid === uuid;
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list