[arvados] updated: 2.7.0-6258-gbccb20f568

git repository hosting git at public.arvados.org
Tue Mar 26 21:01:23 UTC 2024


Summary of changes:
 tools/cluster-activity/arvados_cluster_activity/main.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

       via  bccb20f56897bf5855abd6bc8e566d73c5831dc0 (commit)
      from  d76df952a1c7d9eddbd28a5284948da75b64f229 (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 bccb20f56897bf5855abd6bc8e566d73c5831dc0
Author: Peter Amstutz <peter.amstutz at curii.com>
Date:   Tue Mar 26 17:01:06 2024 -0400

    21121: strip whitespace
    
    Arvados-DCO-1.1-Signed-off-by: Peter Amstutz <peter.amstutz at curii.com>

diff --git a/tools/cluster-activity/arvados_cluster_activity/main.py b/tools/cluster-activity/arvados_cluster_activity/main.py
index 299f4796f5..20356b94fa 100755
--- a/tools/cluster-activity/arvados_cluster_activity/main.py
+++ b/tools/cluster-activity/arvados_cluster_activity/main.py
@@ -68,7 +68,7 @@ def parse_arguments(arguments):
     if args.prometheus_auth:
         with open(args.prometheus_auth, "rt") as f:
             for line in f:
-                sp = line.split("=")
+                sp = line.strip().split("=")
                 if sp[0].startswith("PROMETHEUS_"):
                     os.environ[sp[0]] = sp[1]
 

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


hooks/post-receive
-- 




More information about the arvados-commits mailing list