[ARVADOS] updated: 2.1.0-1673-g7336a9c38

Git user git at public.arvados.org
Mon Nov 22 21:14:36 UTC 2021


Summary of changes:
 lib/crunchrun/crunchrun.go | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  7336a9c38456e1ab7b8f39b210987c641e844399 (commit)
      from  8529a9c53dae3a457f6dbce8aab22571b5837fac (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 7336a9c38456e1ab7b8f39b210987c641e844399
Author: Tom Clegg <tom at curii.com>
Date:   Mon Nov 22 16:10:39 2021 -0500

    17840: Fix -list mode.
    
    Broken in 40f551004ab4e5f1d8ab02ddb55dca225ee8f6ac.
    
    refs #17840
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/lib/crunchrun/crunchrun.go b/lib/crunchrun/crunchrun.go
index 63a0ada54..dd0169025 100644
--- a/lib/crunchrun/crunchrun.go
+++ b/lib/crunchrun/crunchrun.go
@@ -1701,7 +1701,7 @@ func (command) RunCommand(prog string, args []string, stdin io.Reader, stdout, s
 
 	if ok, code := cmd.ParseFlags(flags, prog, args, "container-uuid", stderr); !ok {
 		return code
-	} else if flags.NArg() != 1 {
+	} else if !*list && flags.NArg() != 1 {
 		fmt.Fprintf(stderr, "missing required argument: container-uuid (try -help)\n")
 		return 2
 	}

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list