[ARVADOS] updated: 2.1.0-621-g62b8ef851
Git user
git at public.arvados.org
Fri Apr 2 01:10:03 UTC 2021
Summary of changes:
lib/deduplicationreport/report.go | 9 ++++-----
1 file changed, 4 insertions(+), 5 deletions(-)
via 62b8ef851540106af34d6f5f432e794052355a15 (commit)
from c937aa7011849b84cf5a0bb01c18e262a94f95ad (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 62b8ef851540106af34d6f5f432e794052355a15
Author: Ward Vandewege <ward at curii.com>
Date: Thu Apr 1 21:09:41 2021 -0400
Simplify code a bit.
refs #17503
Arvados-DCO-1.1-Signed-off-by: Ward Vandewege <ward at curii.com>
diff --git a/lib/deduplicationreport/report.go b/lib/deduplicationreport/report.go
index d01d20fd7..bb3405a49 100644
--- a/lib/deduplicationreport/report.go
+++ b/lib/deduplicationreport/report.go
@@ -106,12 +106,11 @@ func report(prog string, args []string, logger *logrus.Logger, stdout, stderr io
var err error
inputs, err = parseFlags(prog, args, logger, stderr)
- if err != nil {
- if err != flag.ErrHelp {
- logger.Error(err.Error())
- return 2
- }
+ if err == flag.ErrHelp {
return 0
+ } else if err != nil {
+ logger.Error(err.Error())
+ return 2
}
// Arvados Client setup
-----------------------------------------------------------------------
hooks/post-receive
--
More information about the arvados-commits
mailing list