[ARVADOS-WORKBENCH2] updated: 1.2.0-230-ge181bd8

Git user git at public.curoverse.com
Mon Sep 3 05:23:27 EDT 2018


Summary of changes:
 src/store/processes/process.ts | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

       via  e181bd846a9a1982d29f8b86c44edd94baec58e4 (commit)
      from  83ae89e7dfd3e152d2154285347a3b268606473d (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 e181bd846a9a1982d29f8b86c44edd94baec58e4
Author: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>
Date:   Mon Sep 3 11:23:17 2018 +0200

    cr changes
    
    Feature #13859
    
    Arvados-DCO-1.1-Signed-off-by: Pawel Kowalczyk <pawel.kowalczyk at contractors.roche.com>

diff --git a/src/store/processes/process.ts b/src/store/processes/process.ts
index 65b27e1..467fc8a 100644
--- a/src/store/processes/process.ts
+++ b/src/store/processes/process.ts
@@ -44,12 +44,12 @@ export const getSubprocesses = (uuid: string) => (resources: ResourcesState) =>
     return [];
 };
 
-export const getProcessRuntime = (subprocess: Process) =>
-    subprocess.container
-        ? getTimeDiff(subprocess.container.finishedAt || '', subprocess.container.startedAt || '')
+export const getProcessRuntime = ({ container }: Process) =>
+    container
+        ? getTimeDiff(container.finishedAt || '', container.startedAt || '')
         : 0;
 
-export const getProcessStatusColor = (status: string, {customs}: ArvadosTheme) => {
+export const getProcessStatusColor = (status: string, { customs }: ArvadosTheme) => {
     switch (status) {
         case SubprocessesStatus.COMPLETED:
             return customs.colors.green700;

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list