[arvados] updated: 2.1.0-2960-gbef451193

git repository hosting git at public.arvados.org
Tue Oct 25 15:05:45 UTC 2022


Summary of changes:
 lib/diagnostics/cmd.go | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

       via  bef451193ffe6c7239c545ed1c93769b50c9e0a8 (commit)
      from  14f6625379992bc3ee054ad419095b476a1c4284 (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 bef451193ffe6c7239c545ed1c93769b50c9e0a8
Author: Tom Clegg <tom at curii.com>
Date:   Tue Oct 25 10:45:41 2022 -0400

    19377: Improve log message about skipping health check during diags.
    
    Arvados-DCO-1.1-Signed-off-by: Tom Clegg <tom at curii.com>

diff --git a/lib/diagnostics/cmd.go b/lib/diagnostics/cmd.go
index 888503b55..c944db666 100644
--- a/lib/diagnostics/cmd.go
+++ b/lib/diagnostics/cmd.go
@@ -62,6 +62,7 @@ func (Command) RunCommand(prog string, args []string, stdin io.Reader, stdout, s
 }
 
 // docker save hello-world > hello-world.tar
+//
 //go:embed hello-world.tar
 var HelloWorldDockerImage []byte
 
@@ -156,7 +157,7 @@ func (diag *diagnoser) runtests() {
 			return err
 		}
 		if cluster.SystemRootToken != os.Getenv("ARVADOS_API_TOKEN") {
-			diag.infof("skipping because provided token is not SystemRootToken")
+			diag.infof("skipping because SystemRootToken read from %s does not match $ARVADOS_API_TOKEN (consider using 'arvados-client sudo diagnostics' to load endpoint and token from config file instead of environment)", ldr.Path)
 			return nil
 		}
 		agg := &health.Aggregator{Cluster: cluster}

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list